Typo
This commit is contained in:
@@ -19,7 +19,7 @@ ARG USERNAME=node
|
|||||||
|
|
||||||
# [Optional] Update UID/GID if needed
|
# [Optional] Update UID/GID if needed
|
||||||
RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
|
RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
|
||||||
&& groupmod --gid $USER_GID $USERNAME \
|
groupmod --gid $USER_GID $USERNAME \
|
||||||
&& usermod --uid $USER_UID --gid $USER_GID $USERNAME \
|
&& usermod --uid $USER_UID --gid $USER_GID $USERNAME \
|
||||||
&& chown -R $USER_UID:$USER_GID /home/$USERNAME; \
|
&& chown -R $USER_UID:$USER_GID /home/$USERNAME; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user