Add wercker.yml
Changed Dockerfile to run as root so it has access to /var/run/docker.sock. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
fc4c35e977
commit
7a8f5e10fd
2 changed files with 15 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
FROM ubuntu:14.04
|
||||
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
|
||||
RUN useradd -d /home/user -m -s /bin/bash user
|
||||
|
||||
WORKDIR /code/
|
||||
|
||||
|
|
@ -12,6 +11,3 @@ RUN pip install -r requirements-dev.txt
|
|||
|
||||
ADD . /code/
|
||||
RUN python setup.py install
|
||||
|
||||
RUN chown -R user /code/
|
||||
USER user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue