Skip to content

Commit

Permalink
Update to ubi9 base image in Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Jun 14, 2024
1 parent 3a74bd9 commit 5bcc315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/notebook-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG SOURCE_CODE=.
ARG GOLANG_VERSION=1.21

# Use ubi8/go-toolset as base image
FROM registry.access.redhat.com/ubi8/go-toolset:${GOLANG_VERSION} as builder
FROM registry.access.redhat.com/ubi9/go-toolset:${GOLANG_VERSION} as builder

## Build args to be used at this step
ARG SOURCE_CODE
Expand Down Expand Up @@ -40,7 +40,7 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -mod=mod \
-o ./bin/manager main.go

# Use ubi8/ubi-minimal as base image
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

## Install additional packages
RUN microdnf install -y shadow-utils &&\
Expand Down
4 changes: 2 additions & 2 deletions components/odh-notebook-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG SOURCE_CODE=.
ARG GOLANG_VERSION=1.21

# Use ubi8/go-toolset as base image
FROM registry.access.redhat.com/ubi8/go-toolset:${GOLANG_VERSION} as builder
FROM registry.access.redhat.com/ubi9/go-toolset:${GOLANG_VERSION} as builder

## Build args to be used at this step
ARG SOURCE_CODE
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN go build \
-o ./bin/manager main.go

# Use ubi8/ubi-minimal as base image
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

## Install additional packages
RUN microdnf install -y shadow-utils &&\
Expand Down

0 comments on commit 5bcc315

Please sign in to comment.