Skip to content

Commit

Permalink
fixup: uid/gid
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vašek <[email protected]>
  • Loading branch information
matejvasek committed Aug 27, 2024
1 parent 7f2ee94 commit 57d5371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.utils
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ RUN GOARCH=$TARGETARCH go build -o func-util -trimpath -ldflags '-w -s' ./cmd/fu
FROM --platform=$TARGETPLATFORM index.docker.io/library/alpine:latest

RUN apk add --no-cache socat tar \
&& addgroup func -g 1000 \
&& adduser func -u 1001 -D -G func
&& addgroup func -g 65532 \
&& adduser func -u 65532 -D -G func

COPY --from=builder /workspace/func-util /usr/local/bin/
RUN ln -s /usr/local/bin/func-util /usr/local/bin/deploy && \
Expand Down

0 comments on commit 57d5371

Please sign in to comment.