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

Commit b959b92

Browse files
committed
Bug fix
1 parent ffb6190 commit b959b92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

containers/java-12/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ARG USER_UID=1000
1414
ARG USER_GID=$USER_UID
1515

1616
RUN groupadd --gid $USER_GID $USERNAME \
17-
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME
17+
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
1818
# [Optional] Add sudo support for the non-root user
1919
&& yum install -y sudo \
2020
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \

containers/java-8-tomcat-8.5/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ ARG USER_GID=$USER_UID
1616
# Configure apt
1717
ENV DEBIAN_FRONTEND=noninteractive
1818
RUN apt-get update \
19-
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1
19+
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
2020
#
2121
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
2222
&& groupadd --gid $USER_GID $USERNAME \
2323
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
2424
# [Optional] Add sudo support for non-root user
2525
&& apt-get install -y sudo \
2626
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
27-
&& chmod 0440 /etc/sudoers.d/$USERNAME
27+
&& chmod 0440 /etc/sudoers.d/$USERNAME \
2828
#
2929
# Verify git, needed tools installed
3030
&& apt-get -y install git procps curl lsb-release \

0 commit comments

Comments
 (0)