helenDeveloper
helenDeveloper

Reputation: 732

How build gitlab as an image file to run with docker?

I want to build gitlab as an image in order to run with docker because I can not pull in with this command:

docker pull gitlab/gitlab-ce:latest

so I want to download it first, then build and finally run it with docker. Where I can find gitlab with ability to build with docker?

Upvotes: 0

Views: 70

Answers (2)

YONGCHANG SHI
YONGCHANG SHI

Reputation: 11

You can use docker pull on a centos7 image. Then, install the gitlab rpm and export docker image

Upvotes: 1

dvnguyen
dvnguyen

Reputation: 3022

Here's the content of the latest gitlab's Dockerfile: https://hub.docker.com/r/gitlab/gitlab-ce/~/dockerfile/

Download it and use docker build to build your image.

Upvotes: 0

Related Questions