The GitLab Docker image uses the Ubuntu 20.04 package created by
omnibus-gitlab. Most of the files needed for building a Docker image
are in the
Docker directory of the
RELEASE file is not in this directory, and you must create this file.
The version details of the package being used are stored in the
To build your own Docker image, create this file with contents similar to the following.
RELEASE_PACKAGE=gitlab-ee RELEASE_VERSION=13.2.0-ee DOWNLOAD_URL=https://example.com/gitlab-ee_13.2.00-ee.0_amd64.deb
RELEASE_PACKAGEspecifies whether the package is a CE one or EE one.
RELEASE_VERSIONspecifies the version of the package, for example
DOWNLOAD_URLspecifies the URL where that package can be downloaded from.
NOTE Note: We’re looking at improving this situation, and using locally available packages in issue #5550.
To build the Docker image after populating the
cd docker docker build -t omnibus-gitlab-image:custom .
The image is built and tagged as