Skip to content

Commit 1f63558

Browse files
Rakshitha-Kamathandrewschoen
authored andcommitted
This commit contains changes to the following files,
[1] rpms.in.yaml & rpms.lock.yaml [2] Dockerfile Signed-off-by: Rakshitha-Kamath <[email protected]>
1 parent 15f1672 commit 1f63558

File tree

3 files changed

+11471
-353
lines changed

3 files changed

+11471
-353
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ COPY snmp_notifier snmp_notifier
77

88
WORKDIR 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
1613
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -mod=readonly \

rpms.in.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ arches:
1010
- ppc64le
1111
- s390x
1212

13+
context:
14+
containerfile:
15+
file: Dockerfile
16+
stageName: builder
17+
1318
packages:
1419
- glibc-static
1520

16-
allowerasing: true
21+
reinstallPackages:
22+
- '*'

0 commit comments

Comments
 (0)