Skip to content

Commit

Permalink
docker changes test
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioSCX committed Jul 29, 2024
1 parent 1a22be3 commit de84a6b
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 @@ -31,7 +31,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
# Runtime image
# Ignore no User Cmd since KICS container is stopped afer scan
# kics-scan ignore-line
FROM cgr.dev/chainguard/git@sha256:adaa6682821bd466d2bd93b92a5ae71f8bf5539acdf551ddc50d67e791c52a50
FROM cgr.dev/chainguard/wolfi-base@sha256:378e1d3d5ced3c8ea83c92784b081972bb235c813db8b56f936c50deac8357f3

USER root

Check warning on line 36 in Dockerfile

View workflow job for this annotation

GitHub Actions / kics-scan

[HIGH] Last User Is 'root'

Leaving the last user as root can cause security risks. Change to another user after running the commands the need privileges

Expand Down

0 comments on commit de84a6b

Please sign in to comment.