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 Jul 22, 2023
1 parent 0bd0381 commit 003999b
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 @@ -5,7 +5,7 @@ WORKDIR /app

RUN CGO_ENABLED=0 GOOS=linux go build -ldflags '-extldflags "-static"'

FROM alpine:3.10.1
FROM alpine:3.14

RUN addgroup --gid 1000 app && \
adduser --system --uid 1000 --ingroup app app
Expand Down

0 comments on commit 003999b

Please sign in to comment.