forked from docker-archive/docker-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
12 lines (8 loc) · 411 Bytes
/
Copy pathDockerfile
File metadata and controls
12 lines (8 loc) · 411 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
FROM ubuntu
RUN sed -i 's/main$/main universe/' /etc/apt/sources.list && apt-get update
RUN apt-get install -y git-core python-pip build-essential python-dev libevent1-dev
ADD . /docker-registry
RUN cd /docker-registry && pip install -r requirements.txt
RUN cp --no-clobber /docker-registry/config_sample.yml /docker-registry/config.yml
EXPOSE 5000
CMD cd /docker-registry && ./setup-configs.sh && ./run.sh