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 Jun 22, 2024
1 parent 6da3fab commit f88fff6
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

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

0 comments on commit f88fff6

Please sign in to comment.