summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytses@gmail.com>2014-11-28 11:13:49 +0100
committerSytse Sijbrandij <sytses@gmail.com>2014-11-28 11:13:49 +0100
commite08255ceea2af40f66039c7768be8de5122649f1 (patch)
treeb2d46c68bb9980a523b4b15d282b222798fa9960 /docker
parent385105382b62f10ce84730ccb4f15aecea189470 (diff)
downloadgitlab-ce-e08255ceea2af40f66039c7768be8de5122649f1.tar.gz
Make the docker commands so that people can build their own images.
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile8
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>