Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Nov 9, 2024
1 parent 0e09bf1 commit fd1baef
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,7 +3,7 @@ WORKDIR /go/src/github.com/stuart-warren/yamlfmt/
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -o yamlfmt ./cmd/yamlfmt

FROM alpine:3.16
FROM alpine:3.17.10
RUN apk --no-cache add diffutils
WORKDIR /tmp
COPY --from=0 /go/src/github.com/stuart-warren/yamlfmt/yamlfmt /usr/local/bin/yamlfmt
Expand Down

0 comments on commit fd1baef

Please sign in to comment.