Skip to content

Commit

Permalink
Create new user
Browse files Browse the repository at this point in the history
  • Loading branch information
ltirrell committed Jun 24, 2017
1 parent caa5c0b commit 8e60a3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imports/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ USER root
RUN apt-get update
RUN apt-get install -y git python3

ENV MC_DIR /home/mindcontrol
ENV LC_ALL C
RUN npm install http-server -g

ENV MC_DIR /home/mindcontrol
RUN useradd --create-home --home-dir ${MC_DIR} mindcontrol
USER mindcontrol

RUN mkdir -p ${MC_DIR} &&\
cd ${MC_DIR} &&\
git clone https://github.com/clowdcontrol/mindcontrol.git ${MC_DIR}
Expand Down

0 comments on commit 8e60a3d

Please sign in to comment.