|
@ -158,14 +158,14 @@ ENV UID=12345 |
|
|
ENV GID=23456 |
|
|
ENV GID=23456 |
|
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive \ |
|
|
RUN export DEBIAN_FRONTEND=noninteractive \ |
|
|
&& addgroup -g $GID $GROUP_NAME \ |
|
|
&& addgroup -g \${GID} \${GROUP_NAME} \ |
|
|
&& adduser \ |
|
|
&& adduser \ |
|
|
--disabled-password \ |
|
|
--disabled-password \ |
|
|
--gecos "" \ |
|
|
--gecos "" \ |
|
|
--home "/home/docker" \ |
|
|
--home "/home/docker" \ |
|
|
--ingroup "$GROUP_NAME" \ |
|
|
--ingroup "\${GROUP_NAME}" \ |
|
|
--uid "$UID" \ |
|
|
--uid "\${UID}" \ |
|
|
"$USER" |
|
|
"\${USER}" |
|
|
|
|
|
|
|
|
CMD ["tail","-f","/dev/null"] |
|
|
CMD ["tail","-f","/dev/null"] |
|
|
|
|
|
|
|
@ -233,14 +233,14 @@ ENV UID=12345 |
|
|
ENV GID=23456 |
|
|
ENV GID=23456 |
|
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive \ |
|
|
RUN export DEBIAN_FRONTEND=noninteractive \ |
|
|
&& addgroup -g $GID $GROUP_NAME \ |
|
|
&& addgroup -g \${GID} \${GROUP_NAME} \ |
|
|
&& adduser \ |
|
|
&& adduser \ |
|
|
--disabled-password \ |
|
|
--disabled-password \ |
|
|
--gecos "" \ |
|
|
--gecos "" \ |
|
|
--home "/home/docker" \ |
|
|
--home "/home/docker" \ |
|
|
--ingroup "$GROUP_NAME" \ |
|
|
--ingroup "\${GROUP_NAME}" \ |
|
|
--uid "$UID" \ |
|
|
--uid "\${UID}" \ |
|
|
"$USER" |
|
|
"\${USER}" |
|
|
|
|
|
|
|
|
CMD ["tail","-f","/dev/null"] |
|
|
CMD ["tail","-f","/dev/null"] |
|
|
|
|
|
|
|
|