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

Commit ffb6190

Browse files
committed
Minor fixes
1 parent ea500c5 commit ffb6190

File tree

46 files changed

+72
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+72
-67
lines changed

container-templates/docker-compose/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN apt-get update \
3838
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
3939
# [Optional] Add sudo support for the non-root user
4040
&& apt-get install -y sudo \
41-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
41+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
4242
&& chmod 0440 /etc/sudoers.d/$USERNAME \
4343
#
4444
# Clean up

container-templates/dockerfile/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN apt-get update \
3333
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
3434
# [Optional] Add sudo support for the non-root user
3535
&& apt-get install -y sudo \
36-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
36+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
3737
&& chmod 0440 /etc/sudoers.d/$USERNAME \
3838
#
3939
# Clean up

containers/azure-ansible/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN apt-get update \
6363
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
6464
# [Optional] Add sudo support for the non-root user
6565
&& apt-get install -y sudo \
66-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
66+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
6767
&& chmod 0440 /etc/sudoers.d/$USERNAME \
6868
#
6969
# Clean up

containers/azure-blockchain/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN apt-get update \
4545
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
4646
# [Optional] Add sudo support for the non-root user
4747
&& apt-get install -y sudo \
48-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
48+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
4949
&& chmod 0440 /etc/sudoers.d/$USERNAME \
5050
#
5151
# Clean up

containers/azure-cli/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN apt-get update \
3535
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
3636
# [Optional] Add sudo support for the non-root user
3737
&& apt-get install -y sudo \
38-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
38+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
3939
&& chmod 0440 /etc/sudoers.d/$USERNAME \
4040
#
4141
# Clean up

containers/azure-functions-dotnetcore-2.1/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN apt-get update \
4141
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
4242
# [Optional] Add sudo support for the non-root user
4343
&& apt-get install -y sudo \
44-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
44+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
4545
&& chmod 0440 /etc/sudoers.d/$USERNAME \
4646
#
4747
# Clean up

containers/azure-functions-dotnetcore-latest/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN apt-get update \
4141
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
4242
# [Optional] Add sudo support for the non-root user
4343
&& apt-get install -y sudo \
44-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
44+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
4545
&& chmod 0440 /etc/sudoers.d/$USERNAME \
4646
#
4747
# Clean up

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN apt-get update \
4444
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
4545
# [Optional] Add sudo support for the non-root user
4646
&& apt-get install -y sudo \
47-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
47+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
4848
&& chmod 0440 /etc/sudoers.d/$USERNAME \
4949
#
5050
# Clean up

containers/azure-functions-python-3/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN apt-get update \
5252
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
5353
# [Optional] Add sudo support for the non-root user
5454
&& apt-get install -y sudo \
55-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
55+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
5656
&& chmod 0440 /etc/sudoers.d/$USERNAME \
5757
#
5858
# Clean up

containers/azure-machine-learning-python-3/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ RUN apt-get update \
4646
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
4747
# [Optional] Add sudo support for the non-root user
4848
&& apt-get install -y sudo \
49-
&& echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode \
49+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
5050
&& chmod 0440 /etc/sudoers.d/$USERNAME \
5151
#
5252
# Install pylint and Azure ML SDK

0 commit comments

Comments
 (0)