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 Aug 11, 2023
1 parent 0bd0381 commit eaf98d7
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.16.7

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

0 comments on commit eaf98d7

Please sign in to comment.