Skip to content

Commit 6114cbc

Browse files
Merge pull request #22853 from vrutkovs/ocp-cli-4.1-base
images: use cli:4.2 as a base for all images
2 parents 527688e + ef6bc6f commit 6114cbc

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

images/cli-artifacts/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ WORKDIR /go/src/github.com/openshift/origin
77
COPY . .
88
RUN OS_RELEASE_WITHOUT_LINKS=y OS_BUILD_RELEASE_ARCHIVES=n OS_ONLY_BUILD_PLATFORMS="^(darwin|windows)/amd64$" bash -x hack/build-cross.sh
99

10-
FROM registry.svc.ci.openshift.org/ocp/4.0:cli
10+
FROM registry.svc.ci.openshift.org/ocp/4.2:cli
1111
COPY --from=builder /go/src/github.com/openshift/origin/_output/local/bin/darwin/amd64/oc /usr/share/openshift/mac/oc
1212
COPY --from=builder /go/src/github.com/openshift/origin/_output/local/bin/windows/amd64/oc.exe /usr/share/openshift/windows/oc.exe

images/cli/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN make build WHAT=cmd/oc; \
55
mkdir -p /tmp/build; \
66
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/oc /tmp/build/oc
77

8-
FROM registry.svc.ci.openshift.org/ocp/4.1:base
8+
FROM registry.svc.ci.openshift.org/ocp/4.2:base
99
COPY --from=builder /tmp/build/oc /usr/bin/
1010
RUN for i in kubectl openshift-deploy openshift-docker-build openshift-sti-build openshift-git-clone openshift-manage-dockerfile openshift-extract-image-content openshift-recycle; do ln -s /usr/bin/oc /usr/bin/$i; done
1111
LABEL io.k8s.display-name="OpenShift Client" \

images/deployer/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.svc.ci.openshift.org/ocp/4.0:cli
1+
FROM registry.svc.ci.openshift.org/ocp/4.2:cli
22

33
LABEL io.k8s.display-name="OpenShift Deployer" \
44
io.k8s.description="This is a component of OpenShift and executes the user deployment process to roll out new containers. It may be used as a base image for building your own custom deployer image." \

images/hyperkube/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN make build WHAT=vendor/k8s.io/kubernetes/cmd/hyperkube; \
55
mkdir -p /tmp/build; \
66
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/hyperkube /tmp/build/hyperkube
77

8-
FROM registry.svc.ci.openshift.org/ocp/4.1:base
8+
FROM registry.svc.ci.openshift.org/ocp/4.2:base
99
COPY --from=builder /tmp/build/hyperkube /usr/bin/
1010
LABEL io.k8s.display-name="OpenShift Kubernetes Server Commands" \
1111
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \

images/hypershift/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN make build WHAT=cmd/hypershift; \
55
mkdir -p /tmp/build; \
66
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/hypershift /tmp/build/hypershift
77

8-
FROM registry.svc.ci.openshift.org/ocp/4.1:base
8+
FROM registry.svc.ci.openshift.org/ocp/4.2:base
99
COPY --from=builder /tmp/build/hypershift /usr/bin/
1010
LABEL io.k8s.display-name="OpenShift Server Commands" \
1111
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \

images/recycler/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.svc.ci.openshift.org/ocp/4.0:cli
1+
FROM registry.svc.ci.openshift.org/ocp/4.2:cli
22

33
LABEL io.k8s.display-name="OpenShift Volume Recycler" \
44
io.k8s.description="This is a component of OpenShift and is used to prepare persistent volumes for reuse after they are deleted." \

images/sdn/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN mkdir -p /tmp/build; \
1313
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/loopback /tmp/build/loopback; \
1414
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/host-local /tmp/build/host-local
1515

16-
FROM registry.svc.ci.openshift.org/ocp/4.1:base
16+
FROM registry.svc.ci.openshift.org/ocp/4.2:base
1717
COPY --from=builder /tmp/build/openshift-sdn /usr/bin/
1818
COPY --from=builder /tmp/build/sdn-cni-plugin /opt/cni/bin/openshift-sdn
1919
COPY --from=builder /tmp/build/loopback /opt/cni/bin/

images/template-service-broker/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN make build WHAT=cmd/template-service-broker; \
55
mkdir -p /tmp/build; \
66
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/template-service-broker /tmp/build/template-service-broker
77

8-
FROM registry.svc.ci.openshift.org/ocp/4.1:base
8+
FROM registry.svc.ci.openshift.org/ocp/4.2:base
99
COPY --from=builder /tmp/build/template-service-broker /usr/bin/
1010
LABEL io.k8s.display-name="OpenShift Template Service Broker" \
1111
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \

images/tests/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN make build WHAT=cmd/openshift-tests; \
55
mkdir -p /tmp/build; \
66
cp /go/src/github.com/openshift/origin/_output/local/bin/linux/$(go env GOARCH)/openshift-tests /tmp/build/openshift-tests
77

8-
FROM registry.svc.ci.openshift.org/ocp/4.0:cli
8+
FROM registry.svc.ci.openshift.org/ocp/4.2:cli
99
COPY --from=builder /tmp/build/openshift-tests /usr/bin/
1010
RUN yum install --setopt=tsflags=nodocs -y git gzip util-linux && yum clean all && rm -rf /var/cache/yum/* && \
1111
git config --system user.name test && \

0 commit comments

Comments
 (0)