Skip to content

Commit

Permalink
fix fixuid permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chacin <[email protected]>
  • Loading branch information
pablochacin committed Jul 5, 2024
1 parent f176e07 commit 409e386
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 409e386

Please sign in to comment.