Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
1271 authored Jun 24, 2019
1 parent 50c46c4 commit 6f71457
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ ARG HOST_USER=manga-user
ARG HOST_GROUP=manga-group
ARG HOME='/home/manga'

RUN groupadd -g $HOST_GID $HOST_GROUP \
&& groupadd sudonopswd \
&& useradd -m -l -g $HOST_GROUP -u $HOST_UID $HOST_USER

RUN mkdir $HOME -p; \
chown $HOST_USER:$HOST_GROUP $HOME

Expand Down Expand Up @@ -142,10 +146,6 @@ RUN set -ex; \
\) -exec rm -rf '{}' +; \
rm -f get-pip.py

RUN groupadd -g $HOST_GID $HOST_GROUP \
&& groupadd sudonopswd \
&& useradd -m -l -g $HOST_GROUP -u $HOST_UID $HOST_USER

USER $HOST_USER
WORKDIR $HOME

Expand Down

0 comments on commit 6f71457

Please sign in to comment.