Remove pesky spaces
This commit is contained in:
@@ -15,8 +15,8 @@ ARG GROUP_ID=1000
|
|||||||
ARG USER_NAME=mgmt
|
ARG USER_NAME=mgmt
|
||||||
ARG GROUP_NAME=$USER_NAME
|
ARG GROUP_NAME=$USER_NAME
|
||||||
RUN groupadd --gid $GROUP_ID $GROUP_NAME && \
|
RUN groupadd --gid $GROUP_ID $GROUP_NAME && \
|
||||||
useradd --create-home --home /home/$USER_NAME --uid ${USER_ID} --gid $GROUP_NAME --groups sudo $USER_NAME && \
|
useradd --create-home --home /home/$USER_NAME --uid ${USER_ID} --gid $GROUP_NAME --groups sudo $USER_NAME && \
|
||||||
echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
||||||
|
|
||||||
# Copy all the files to the working directory
|
# Copy all the files to the working directory
|
||||||
COPY . /home/$USER_NAME/mgmt
|
COPY . /home/$USER_NAME/mgmt
|
||||||
|
|||||||
Reference in New Issue
Block a user