Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Jul 7, 2022
1 parent 64bbdcc commit d00eb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ WORKDIR /app
COPY . .
RUN go build -o gitoops ./cmd/

FROM alpine:3.14
FROM alpine:3.15
COPY --from=0 /app/gitoops /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/gitoops"]

1 comment on commit d00eb59

@kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented on d00eb59 Jul 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FROM golang:alpine3.14 should be updated to FROM golang:alpine3.15 too :)

Please sign in to comment.