0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐳 Move EXTERNAL_UID closer to its use (perf)

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
mathieu.brunot 2020-02-25 14:02:12 +01:00 committed by Andrey Antukh
parent 90c0bce9aa
commit 0ad2b13d76

View file

@ -1,7 +1,6 @@
FROM debian:buster
LABEL maintainer="Andrey Antukh <niwi@niwi.nz>"
ARG EXTERNAL_UID=1000
ARG DEBIAN_FRONTEND=noninteractive
ENV NODE_VERSION=v12.14.1 \
@ -53,6 +52,8 @@ RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
COPY files/bashrc /root/.bashrc
COPY files/vimrc /root/.vimrc
ARG EXTERNAL_UID=1000
RUN set -ex; \
useradd -m -g users -s /bin/zsh -u $EXTERNAL_UID uxbox; \
passwd uxbox -d; \