Skip to content

Commit

Permalink
Do not add root user as root is there already
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 5, 2023
1 parent 7e25a5c commit 079f406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ FROM runner as prod
COPY --from=tippecanoe-builder /usr/local/bin/tippecanoe* /usr/local/bin/
COPY --from=tippecanoe-builder /usr/local/bin/tile-join /usr/local/bin/

RUN useradd --system --uid 900 --home-dir /home/root --shell /bin/false root \
&& chown -R root:root /home/root
# RUN useradd --system --uid 900 --home-dir /home/root --shell /bin/false root \
# && chown -R root:root /home/root

USER root

Expand Down

0 comments on commit 079f406

Please sign in to comment.