Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Docker): increase the default user group ID to over 10000 #729

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bpdm-bridge-dummy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY --from=build /home/app/bpdm-bridge-dummy/target/bpdm-bridge-dummy.jar /usr/
RUN apk update && apk upgrade --no-cache libssl3 libcrypto3
ARG USERNAME=bpdm
ARG USERID=10001
ARG GID=3000
ARG GID=10001
RUN addgroup -g $GID -S $USERNAME
RUN adduser -u $USERID -S $USERNAME $USERNAME
USER $USERNAME
Expand Down
2 changes: 1 addition & 1 deletion bpdm-cleaning-service-dummy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY --from=build /home/app/bpdm-cleaning-service-dummy/target/bpdm-cleaning-ser
RUN apk update && apk upgrade --no-cache libssl3 libcrypto3
ARG USERNAME=bpdm
ARG USERID=10001
ARG GID=3000
ARG GID=10001
RUN addgroup -g $GID -S $USERNAME
RUN adduser -u $USERID -S $USERNAME $USERNAME
USER $USERNAME
Expand Down
2 changes: 1 addition & 1 deletion bpdm-gate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY --from=build $HOME/bpdm-gate/target/bpdm-gate.jar /usr/local/lib/bpdm/app.j
RUN apk update && apk upgrade --no-cache libssl3 libcrypto3
ARG USERNAME=bpdm
ARG USERID=10001
ARG GID=3000
ARG GID=10001
RUN addgroup -g $GID -S $USERNAME
RUN adduser -u $USERID -S $USERNAME $USERNAME
USER $USERNAME
Expand Down
2 changes: 1 addition & 1 deletion bpdm-orchestrator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY --from=build /home/app/bpdm-orchestrator/target/bpdm-orchestrator.jar /usr/
RUN apk update && apk upgrade --no-cache libssl3 libcrypto3
ARG USERNAME=bpdm
ARG USERID=10001
ARG GID=3000
ARG GID=10001
RUN addgroup -g $GID -S $USERNAME
RUN adduser -u $USERID -S $USERNAME $USERNAME
USER $USERNAME
Expand Down
2 changes: 1 addition & 1 deletion bpdm-pool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY --from=build $HOME/bpdm-pool/target/bpdm-pool.jar /usr/local/lib/bpdm/app.j
RUN apk update && apk upgrade --no-cache libssl3 libcrypto3
ARG USERNAME=bpdm
ARG USERID=10001
ARG GID=3000
ARG GID=10001
RUN addgroup -g $GID -S $USERNAME
RUN adduser -u $USERID -S $USERNAME $USERNAME
USER $USERNAME
Expand Down
Loading