Skip to content

Commit

Permalink
Fix hadolint warning about useradd without -l
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Feb 24, 2022
1 parent 885cd27 commit 51846a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN group=${USER}; \
uid=1000; \
gid=${uid}; \
groupadd -g ${gid} ${group}; \
useradd -c "Jenkins user" -d "${HOME}" -u ${uid} -g ${gid} -m ${USER} -s /bin/bash; \
useradd -l -c "Jenkins user" -d "${HOME}" -u ${uid} -g ${gid} -m ${USER} -s /bin/bash; \
# install sudo and locales\
${APT_GET} update; \
${APT_GET_INSTALL} \
Expand Down

0 comments on commit 51846a2

Please sign in to comment.