Last active
December 20, 2015 00:49
-
-
Save tobstarr/6044646 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN sed 's/main$/main universe/' -i /etc/apt/sources.list && apt-get update | |
RUN apt-get install -y git-core python-pip build-essential python-dev libevent1-dev -y | |
RUN git clone https://github.com/dotcloud/docker-registry.git /docker-registry | |
RUN cd /docker-registry && pip install -r requirements.txt | |
RUN cp /docker-registry/config_sample.yml /docker-registry/config.yml | |
EXPOSE 5000 | |
CMD cd /docker-registry && gunicorn --access-logfile - --log-level debug --debug -b 0.0.0.0:5000 -w 1 wsgi:application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment