Skip to content

Commit

Permalink
[Snyk] Security upgrade alpine from 3.15 to 3.16 (flyteorg#455)
Browse files Browse the repository at this point in the history
* fix: Dockerfile to reduce vulnerabilities

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* Update builder image as well

Signed-off-by: Haytham Abuelfutuh <[email protected]>

Co-authored-by: Haytham Abuelfutuh <[email protected]>
  • Loading branch information
snyk-bot and EngHabu authored Jul 15, 2022
1 parent 0031707 commit 994a707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flytepropeller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst

FROM golang:1.18.0-alpine3.15 as builder
FROM golang:1.18-alpine3.16 as builder
RUN apk add git openssh-client make curl

# COPY only the go mod files for efficient caching
Expand All @@ -24,7 +24,7 @@ RUN make linux_compile
ENV PATH="/artifacts:${PATH}"

# This will eventually move to centurylink/ca-certs:latest for minimum possible image size
FROM alpine:3.15
FROM alpine:3.16
LABEL org.opencontainers.image.source https://github.com/flyteorg/flytepropeller

COPY --from=builder /artifacts /bin
Expand Down

0 comments on commit 994a707

Please sign in to comment.