Skip to content

Commit

Permalink
Merge pull request #102 from grafana/fix-fixuid-permissions
Browse files Browse the repository at this point in the history
fix fixuid permissions
  • Loading branch information
pablochacin authored Jul 5, 2024
2 parents f176e07 + 409e386 commit b455409
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ FROM golang:${GO_VERSION}-${VARIANT}

COPY --from=builder /build/fixuid /usr/local/bin/

RUN chown root:root /usr/local/bin/fixuid && \
chmod 4755 /usr/local/bin/fixuid

RUN addgroup --gid 1000 xk6 && \
adduser --uid 1000 --ingroup xk6 --home /home/xk6 --shell /bin/sh --disabled-password --gecos "" xk6

Expand Down

0 comments on commit b455409

Please sign in to comment.