From 409e386546fa277142891b3d9682cdb2e6feb74e Mon Sep 17 00:00:00 2001 From: Pablo Chacin Date: Fri, 5 Jul 2024 13:26:14 +0200 Subject: [PATCH] fix fixuid permissions Signed-off-by: Pablo Chacin --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index df75bc8..a39e311 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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