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 Dec 8, 2023
1 parent 6da3fab commit b708044
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.18.3
FROM alpine:3.18.5

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

0 comments on commit b708044

Please sign in to comment.