We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea75046 commit 654ab60Copy full SHA for 654ab60
Dockerfile
@@ -21,8 +21,10 @@ ADD unminimize /tmp/unminimize
21
RUN chmod 700 /tmp/unminimize \
22
&& /tmp/unminimize
23
24
-RUN [ -n CREATE_USER ] && groupadd --gid ${USER_GID} ${USERNAME} \
+RUN if [ -n CREATE_USER ]; then \
25
+ groupadd --gid ${USER_GID} ${USERNAME} \
26
&& useradd --create-home --shell /bin/bash --uid ${USER_UID} --gid ${USER_GID} ${USERNAME}
27
+ fi
28
29
RUN apt-get update \
30
&& apt-get upgrade -y \
0 commit comments