Skip to content
Snippets Groups Projects
Commit d22932e0 authored by GitLab Bot's avatar GitLab Bot
Browse files

Automatic merge of gitlab-org/omnibus-gitlab master

parents b810936b e57a3df2
No related branches found
No related tags found
1 merge request!85Merged upstream 15.5.0+rc42.ce.0
......@@ -4,5 +4,5 @@
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
---
# Building an all-in-one GitLab Docker image locally
# Build a GitLab Docker image locally
......@@ -8,6 +8,6 @@
The GitLab all-in-one Docker image uses Ubuntu 20.04 package created by
`omnibus-gitlab` under the hood. The files required for building Docker image
can be found inside the `Docker` directory of `omnibus-gitlab` repository,
except `RELEASE` file which needs to be compiled manually, as described below.
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 `omnibus-gitlab` repository.
The `RELEASE` file is not in this directory, and you must create this file.
......@@ -13,3 +13,3 @@
## RELEASE file
## Create the `RELEASE` file
......@@ -15,7 +15,6 @@
The details of the version of the package being used is stored in a file named
`RELEASE`. To build your own Docker image, you should create this file with
contents similar to the following
The version details of the package being used are stored in the `RELEASE` file.
To build your own Docker image, create this file with contents similar to the following.
```plaintext
RELEASE_PACKAGE=gitlab-ee
......@@ -23,12 +22,11 @@
DOWNLOAD_URL=https://example.com/gitlab-ee_13.2.00-ee.0_amd64.deb
```
Here, `RELEASE_PACKAGE` specifies whether the package is a CE one or EE one.
`RELEASE_VERSION` specifies the version of the package (`13.2.0-ee`,
`12.9.2+rfbranch.150270.c43b3273-0`, etc.). `DOWNLOAD_URL` specifies the URL
where that package can be downloaded from.
- `RELEASE_PACKAGE` specifies whether the package is a CE one or EE one.
- `RELEASE_VERSION` specifies the version of the package, for example `13.2.0-ee`.
- `DOWNLOAD_URL` specifies 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](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5550).
......@@ -30,9 +28,9 @@
NOTE **Note:**
We're looking at improving this situation, and using locally available packages
[in issue #5550](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5550).
## Building the Docker image
## Build the Docker image
To build the Docker image after populating the `RELEASE` file:
......@@ -41,4 +39,4 @@
docker build -t omnibus-gitlab-image:custom .
```
The image will be built and tagged as `omnibus-gitlab-image:custom`.
The image is built and tagged as `omnibus-gitlab-image:custom`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment