Created
January 27, 2015 15:50
-
-
Save pfigue/4dc89e2a36ba14d0fcff to your computer and use it in GitHub Desktop.
Gitrob Docker Container
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 phusion/baseimage:0.9.16 | |
RUN apt-get update | |
RUN apt-get install -y ruby1.9.3 ruby-dev postgresql-9.3 postgresql-server-dev-9.3 make g++ | |
RUN gem install bundler gitrob | |
RUN bash -c 'service postgresql start; sleep 5;' && sudo -u postgres psql -c "CREATE USER gitrob WITH PASSWORD 'gitrob';" | |
RUN bash -c 'service postgresql start; sleep 5;' && sudo -u postgres psql -c "CREATE DATABASE gitrob WITH OWNER gitrob;" | |
ADD gitrobrc.yml /root/.gitrobrc | |
EXPOSE 9393 | |
CMD service postgresql start |
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
--- | |
sql_connection_uri: postgres://gitrob:gitrob@localhost:5432/gitrob | |
github_access_tokens: | |
- "<Github TOKEN 1>" | |
- "<Github TOKEN 2>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment