Skip to content

Instantly share code, notes, and snippets.

@pstuifzand
Created July 24, 2013 13:06
Show Gist options
  • Save pstuifzand/6070409 to your computer and use it in GitHub Desktop.
Save pstuifzand/6070409 to your computer and use it in GitHub Desktop.
Pinto Dockerfile
FROM ubuntu
RUN apt-get -y install curl perl
RUN apt-get -y install build-essential
RUN curl -L http://getpinto.stratopan.com | bash
EXPOSE 3111
VOLUME ["/var/pinto"]
RUN adduser --system --home /opt/local/pinto --shell /bin/false --disabled-login --group pinto
ENV PINTO_HOME /opt/local/pinto
ENV PINTO_REPOSITORY_ROOT /var/pinto
RUN /opt/local/pinto/bin/pinto init
CMD ["/opt/local/pinto/bin/pintod"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment