final fixes
This commit is contained in:
parent
68cdbe4cc7
commit
a7d7f551a7
@ -18,9 +18,9 @@ RUN apt-get install -y nodejs
|
|||||||
# install ruby
|
# install ruby
|
||||||
RUN apt-get install -y ruby1.9.1 ruby1.9.1-dev
|
RUN apt-get install -y ruby1.9.1 ruby1.9.1-dev
|
||||||
|
|
||||||
|
|
||||||
# add a user
|
# add a user
|
||||||
RUN useradd -ms /bin/bash docker
|
# and make them a sudoer
|
||||||
|
RUN useradd -ms /bin/bash docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
||||||
|
|
||||||
# switch to the docker user
|
# switch to the docker user
|
||||||
ENV HOME /home/docker
|
ENV HOME /home/docker
|
||||||
|
2
mean
2
mean
@ -16,4 +16,4 @@ if docker inspect -f {{.Name}} data-docker-home > /dev/null
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker run -it --rm --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 9000:9000 -p 35729:25729 adamarthurryan/mean $@
|
docker run -it --rm --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 9000:9000 -p 35729:35729 adamarthurryan/mean $@
|
Loading…
Reference in New Issue
Block a user