Skip to content

Instantly share code, notes, and snippets.

@proligde
Created January 8, 2014 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proligde/8322375 to your computer and use it in GitHub Desktop.
Save proligde/8322375 to your computer and use it in GitHub Desktop.
# gitlab installation
#
# VERSION 1.0
# use the saucy image from stackbrew
FROM stackbrew/ubuntu:saucy
MAINTAINER Foo Bar foo@bar.intra
# REPLACEMENT for RUN commands as we are quickly running into the max 42 layer limit otherwise
ADD scripts/docker/setup.sh /
# add gitlab patch to add execution of hooks on tag push
ADD scripts/docker/gitlab.patch /
# run setup
RUN /setup.sh
# remove setup
RUN rm /setup.sh
# add init scripts
ADD scripts/docker/checkPermissions.sh /
ADD scripts/docker/runGitlab.sh /
ADD scripts/docker/runGitlabDeamon.sh /
ADD scripts/docker/setupdb.sh /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment