Skip to content

Commit

Permalink
Update images to ubi9 (#1355)
Browse files Browse the repository at this point in the history
Signed-off-by: dkwon17 <[email protected]>
  • Loading branch information
dkwon17 authored Dec 18, 2024
1 parent 0176338 commit c47e453
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.
#

# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi8/go-toolset
FROM registry.access.redhat.com/ubi8/go-toolset:1.22.7-5 as builder
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.7-1733160835 as builder
ENV GOPATH=/go/
USER root
WORKDIR /devworkspace-operator
Expand All @@ -33,8 +33,8 @@ COPY . .
RUN make compile-devworkspace-controller
RUN make compile-webhook-server

# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi8-minimal
FROM registry.access.redhat.com/ubi8-minimal:8.10-1130
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9-minimal
FROM registry.access.redhat.com/ubi9-minimal:9.5-1731593028
RUN microdnf -y update && microdnf clean all && rm -rf /var/cache/yum && echo "Installed Packages" && rpm -qa | sort -V && echo "End Of Installed Packages"
WORKDIR /
COPY --from=builder /devworkspace-operator/_output/bin/devworkspace-controller /usr/local/bin/devworkspace-controller
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy/deployment/kubernetes/combined.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy/deployment/openshift/combined.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy/templates/components/csv/clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
name: kube_rbac_proxy
- image: quay.io/devfile/project-clone:next
name: project_clone
- image: registry.access.redhat.com/ubi8-micro:8.8-1
- image: registry.access.redhat.com/ubi9/ubi-micro:9.5-1733126338
name: pvc_cleanup_job
- image: quay.io/eclipse/che-workspace-data-sync-storage:0.0.1
name: async_storage_server
Expand Down
2 changes: 1 addition & 1 deletion deploy/templates/components/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ spec:
- name: RELATED_IMAGE_devworkspace_webhook_server
value: "quay.io/devfile/devworkspace-controller:next"
- name: RELATED_IMAGE_pvc_cleanup_job
value: "registry.access.redhat.com/ubi8-micro:8.8-1"
value: "registry.access.redhat.com/ubi9/ubi-micro:9.5-1733126338"
- name: RELATED_IMAGE_async_storage_server
value: "quay.io/eclipse/che-workspace-data-sync-storage:0.0.1"
- name: RELATED_IMAGE_async_storage_sidecar
Expand Down
8 changes: 4 additions & 4 deletions project-clone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#

# Build the manager binary
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi8/go-toolset
FROM registry.access.redhat.com/ubi8/go-toolset:1.22.7-5 as builder
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.7-1733160835 as builder
ENV GOPATH=/go/
USER root
WORKDIR /project-clone
Expand All @@ -36,8 +36,8 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build \
-asmflags all=-trimpath=/ \
project-clone/main.go

# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi8-minimal
FROM registry.access.redhat.com/ubi8-minimal:8.10-1130
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9-minimal
FROM registry.access.redhat.com/ubi9-minimal:9.5-1731593028
RUN microdnf -y update && microdnf install -y time git git-lfs && microdnf clean all && rm -rf /var/cache/yum && echo "Installed Packages" && rpm -qa | sort -V && echo "End Of Installed Packages"
WORKDIR /
COPY --from=builder /project-clone/_output/bin/project-clone /usr/local/bin/project-clone
Expand Down

0 comments on commit c47e453

Please sign in to comment.