Skip to content

Commit

Permalink
Merge pull request #132 from alphaX86/cve-fix
Browse files Browse the repository at this point in the history
[WIP] Fix CVE issues by upgrading tags
  • Loading branch information
leecalcote authored Nov 29, 2021
2 parents 81b9a47 + cc7aa9b commit 2e9e4cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15 as builder
FROM golang:1.17 as builder

ARG VERSION
ARG GIT_COMMITSHA
Expand All @@ -18,9 +18,9 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags="-w -

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/base:nonroot-amd64
FROM gcr.io/distroless/static
ENV DISTRO="debian"
ENV GOARCH="amd64"
WORKDIR $HOME/.meshery
COPY --from=builder /build/meshery-nsm .
ENTRYPOINT ["./meshery-nsm"]
ENTRYPOINT ["./meshery-nsm"]

0 comments on commit 2e9e4cb

Please sign in to comment.