Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 3a48000

Browse files
committed
Fixes
1 parent 1a2aff8 commit 3a48000

File tree

2 files changed

+2
-2
lines changed
  • containers

2 files changed

+2
-2
lines changed

containers/azure-functions-node-10/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN apt-get update \
4040
# [Optional] Update a non-root user to UID/GID if needed.
4141
&& if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
4242
groupmod --gid $USER_GID $USERNAME \
43-
&& then usermod --uid $USER_UID --gid $USER_GID $USERNAME \
43+
&& usermod --uid $USER_UID --gid $USER_GID $USERNAME \
4444
&& chown -R $USER_UID:$USER_GID /home/$USERNAME; \
4545
fi \
4646
# [Optional] Add add sudo support for non-root user

containers/azure-functions-node-8/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN apt-get update \
4343
# [Optional] Update a non-root user to UID/GID if needed.
4444
&& if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
4545
groupmod --gid $USER_GID $USERNAME \
46-
&& then usermod --uid $USER_UID --gid $USER_GID $USERNAME \
46+
&& usermod --uid $USER_UID --gid $USER_GID $USERNAME \
4747
&& chown -R $USER_UID:$USER_GID /home/$USERNAME; \
4848
fi \
4949
# [Optional] Add add sudo support for non-root user

0 commit comments

Comments
 (0)