mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 21:16:28 +02:00
updated comments
This commit is contained in:
parent
9cbd6d0223
commit
ad998246ca
2 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM docker.io/cimg/node:current-browsers
|
FROM docker.io/cimg/node:current-browsers
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install gosu
|
# Install gosu to run command as a specific user, circleci. Clean up lists.
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y gosu && \
|
apt-get install -y gosu && \
|
||||||
|
|
|
@ -9,4 +9,5 @@ echo "Updating circleci user and group to match host UID:GID ($HOST_UID:$HOST_GI
|
||||||
sudo groupmod -g "$HOST_GID" circleci
|
sudo groupmod -g "$HOST_GID" circleci
|
||||||
sudo usermod -u "$HOST_UID" circleci
|
sudo usermod -u "$HOST_UID" circleci
|
||||||
|
|
||||||
|
# Run command as circleci user. Note that command, run_node_watch.sh, is passed as arg to entrypoint
|
||||||
exec gosu circleci "$@"
|
exec gosu circleci "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue