Skip to content

Commit

Permalink
fix: use CentOS Stream 8 for images
Browse files Browse the repository at this point in the history
CentOS Linux 8 repositories were removed from the mirror network on
January 31 [1]. That breaks the combined and vgmanager images, which
should switch to CentOS Stream 8.

[1] - https://lists.centos.org/pipermail/centos-devel/2021-December/098779.html

Signed-off-by: Javier Pena <[email protected]>
  • Loading branch information
javierpena committed Feb 10, 2022
1 parent 54a4af0 commit fb7ae5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.combined
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o vgmanager cmd/vgmanager
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o metricsexporter cmd/metricsexporter/exporter.go

# vgmanager needs 'nsenter' and other basic linux utils to correctly function
FROM centos:8
FROM centos:stream8

# Install required utilities
RUN dnf install -y openssl && dnf clean all
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.vgmanager
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o vgmanager cmd/vgmanager

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM centos:8
FROM centos:stream8
WORKDIR /
COPY --from=builder /workspace/vgmanager .
USER 65532:65532
Expand Down

0 comments on commit fb7ae5b

Please sign in to comment.