Move the USER parameter after the ENTRYPOINT

This commit is contained in:
flow.gunso
2019-04-09 13:40:21 +02:00
parent 5a7e2a6775
commit e78b76550f

View File

@@ -44,6 +44,7 @@ ENV UID=1000
ENV GID=1000
RUN groupadd -g $GID -o $UNAME ;\
useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME
USER $UNAME
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
USER $UNAME