diff options
author | Sytse Sijbrandij <sytses@gmail.com> | 2014-11-28 11:13:49 +0100 |
---|---|---|
committer | Sytse Sijbrandij <sytses@gmail.com> | 2014-11-28 11:13:49 +0100 |
commit | e08255ceea2af40f66039c7768be8de5122649f1 (patch) | |
tree | b2d46c68bb9980a523b4b15d282b222798fa9960 | |
parent | 385105382b62f10ce84730ccb4f15aecea189470 (diff) | |
download | gitlab-ce-e08255ceea2af40f66039c7768be8de5122649f1.tar.gz |
Make the docker commands so that people can build their own images.
-rw-r--r-- | docker/Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 38a48867ca9..70e8ad93423 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,9 @@ -# Data: docker run --name gitlab_data USER/IMAGE:TAG /bin/true -# Run: docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data USER/IMAGE:TAG +# At this moment GitLab doesn't have official Docker images. +# Build your own based on the Omnibus packages with the following commands. +# The first commands assumes you're in the GitLab repo root directory. +# Build: sudo docker build --tag gitlab_image docker/. +# Data: sudo docker run --name gitlab_data gitlab /bin/true +# Run: sudo docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image FROM ubuntu:14.04 MAINTAINER Vincent Robert <vincent.robert@genezys.net> |