This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java-8-tomcat-8.5/.devcontainer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ARG USER_UID=1000
14
14
ARG USER_GID=$USER_UID
15
15
16
16
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 \
18
18
# [Optional] Add sudo support for the non-root user
19
19
&& yum install -y sudo \
20
20
&& echo $USERNAME ALL=\( root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ ARG USER_GID=$USER_UID
16
16
# Configure apt
17
17
ENV DEBIAN_FRONTEND=noninteractive
18
18
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 \
20
20
#
21
21
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
22
22
&& groupadd --gid $USER_GID $USERNAME \
23
23
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
24
24
# [Optional] Add sudo support for non-root user
25
25
&& apt-get install -y sudo \
26
26
&& echo $USERNAME ALL=\( root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
27
- && chmod 0440 /etc/sudoers.d/$USERNAME
27
+ && chmod 0440 /etc/sudoers.d/$USERNAME \
28
28
#
29
29
# Verify git, needed tools installed
30
30
&& apt-get -y install git procps curl lsb-release \
You can’t perform that action at this time.
0 commit comments