Skip to content

Commit 6e6d4a1

Browse files
committed
fix golang builder and use ubi9
1 parent a1b86b3 commit 6e6d4a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Build stage 1
22

3-
FROM openshift/golang-builder:rhel_9_golang_1.16 AS builder
3+
FROM openshift/golang-builder:rhel_8_golang_1.16 AS builder
44

55
COPY $REMOTE_SOURCE $REMOTE_SOURCE_DIR
66

@@ -12,7 +12,7 @@ RUN go build -o $REMOTE_SOURCE_DIR/app/bin/snmp_notifier -ldflags "-s -X github.
1212

1313
# Build stage 2
1414

15-
FROM registry.redhat.io/ubi8/ubi-minimal
15+
FROM registry.redhat.io/ubi9/ubi-minimal
1616

1717
# Update the image to get the latest CVE updates
1818
RUN microdnf update -y && \

0 commit comments

Comments
 (0)