From e08255ceea2af40f66039c7768be8de5122649f1 Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij Date: Fri, 28 Nov 2014 11:13:49 +0100 Subject: Make the docker commands so that people can build their own images. --- docker/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docker') 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 -- cgit v1.2.3