mirror of
https://github.com/docker/docs.git
synced 2026-04-02 17:28:55 +07:00
Changed Dockerfile to run as root so it has access to /var/run/docker.sock. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
14 lines
293 B
Docker
14 lines
293 B
Docker
FROM ubuntu:14.04
|
|
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
|
|
|
|
WORKDIR /code/
|
|
|
|
ADD requirements.txt /code/
|
|
RUN pip install -r requirements.txt
|
|
|
|
ADD requirements-dev.txt /code/
|
|
RUN pip install -r requirements-dev.txt
|
|
|
|
ADD . /code/
|
|
RUN python setup.py install
|