Skip to content

Commit e90ef42

Browse files
committed
use ubi9 as base image
Signed-off-by: clyang82 <[email protected]>
1 parent 3d7df80 commit e90ef42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

agent/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY ./pkg/ ./pkg/
1212
RUN go build -o bin/agent ./agent/cmd/agent/main.go
1313

1414
# Stage 2: Copy the binaries from the image builder to the base image
15-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
15+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
1616
ENV USER_UID=1001
1717
ENV USER_NAME=agent
1818

manager/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY ./pkg/ ./pkg/
1212
RUN go build -o bin/manager ./manager/cmd/manager/main.go
1313

1414
# Stage 2: Copy the binaries from the image builder to the base image
15-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
15+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
1616
ENV USER_UID=1001
1717
ENV USER_NAME=manager
1818

operator/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY ./pkg ./pkg
1212
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o bin/multicluster-global-hub-operator operator/main.go
1313

1414
# Stage 2: Copy the binaries from the image builder to the base image
15-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
15+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
1616

1717
ENV OPERATOR=/usr/local/bin/multicluster-global-hub-operator \
1818
USER_UID=1001 \

0 commit comments

Comments
 (0)