Skip to content

Commit

Permalink
Merge pull request #107 from javierpena/centos-8stream
Browse files Browse the repository at this point in the history
Use CentOS Stream 8 for images
  • Loading branch information
nbalacha authored Feb 10, 2022
2 parents 54a4af0 + fb7ae5b commit f7b7b1b
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 f7b7b1b

Please sign in to comment.