File tree Expand file tree Collapse file tree 3 files changed +11471
-354
lines changed Expand file tree Collapse file tree 3 files changed +11471
-354
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ COPY snmp_notifier snmp_notifier
77
88WORKDIR snmp_notifier
99
10- # The base image has glibc-langpack-en which causes issues with glibc-static installation.
11- # So removing it will resolve the issue in the hermetic build
12- RUN dnf remove -y glibc-langpack-en \
13- && dnf install -y glibc glibc-devel glibc-static
10+ RUN dnf install -y glibc-static
1411
1512# Build the binary
1613RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -mod=readonly \
@@ -48,7 +45,6 @@ LABEL io.openshift.tags="1.2.1"
4845LABEL cpe=cpe:/a:redhat:ceph_storage:8::el9
4946LABEL org.opencontainers.image.created="${BUILD_DATE}"
5047
51-
5248RUN chmod +x "$OPBIN"
5349
5450EXPOSE 9464
Original file line number Diff line number Diff line change @@ -10,7 +10,13 @@ arches:
1010 - ppc64le
1111 - s390x
1212
13+ context :
14+ containerfile :
15+ file : Dockerfile
16+ stageName : builder
17+
1318packages :
1419 - glibc-static
1520
16- allowerasing : true
21+ reinstallPackages :
22+ - ' *'
You can’t perform that action at this time.
0 commit comments