Skip to content

Commit

Permalink
fix: Remove adduser from scratch images
Browse files Browse the repository at this point in the history
  • Loading branch information
The-9880 committed Feb 6, 2025
1 parent 5aba346 commit 762da54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile.browser
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ FROM --platform=$TARGETOS/$TARGETARCH scratch

ARG TARGETOS
ARG TARGETARCH
RUN adduser -D -u 12345 -g 12345 sm

ADD ./dist/container-image.browser.${TARGETOS}-${TARGETARCH}.tar /
COPY --from=0 /etc/passwd /etc/passwd
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.no-browser
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ FROM --platform=$TARGETOS/$TARGETARCH scratch

ARG TARGETOS
ARG TARGETARCH
RUN adduser -D -u 12345 -g 12345 sm

ADD ./dist/container-image.no-browser.${TARGETOS}-${TARGETARCH}.tar /
COPY --from=0 /etc/passwd /etc/passwd
Expand Down

0 comments on commit 762da54

Please sign in to comment.