Skip to content

Commit 0d39d55

Browse files
authored
Merge pull request sameersbn#3120 from sachilles/upgrade-to-18.0.2
Upgrade GitLab CE to 18.0.2
2 parents adc5613 + 2e2f4f8 commit 0d39d55

File tree

11 files changed

+54
-46
lines changed

11 files changed

+54
-46
lines changed

Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
This file only reflects the changes that are made in this image. Please refer to the upstream GitLab [CHANGELOG](https://
44
gitlab.com/gitlab-org/gitlab-foss/blob/master/CHANGELOG.md) for the list of changes in GitLab.
55

6+
## 18.0.2
7+
8+
- gitlab: upgrade CE to v18.0.2
9+
- gitaly: upgrade to v18.0.2
10+
- gitlab-pages: upgrade to v18.0.2
11+
- golang: upgrade to v1.24.4
12+
- ubuntu: upgrade to noble-20250529
13+
614
## 18.0.1
715

816
- gitlab: upgrade CE to v18.0.1

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM ubuntu:noble-20250415.1
1+
FROM ubuntu:noble-20250529
22

3-
ARG VERSION=18.0.1
3+
ARG VERSION=18.0.2
44

55
ENV GITLAB_VERSION=${VERSION} \
66
RUBY_VERSION=3.2.8 \
77
RUBY_SOURCE_SHA256SUM="77acdd8cfbbe1f8e573b5e6536e03c5103df989dc05fa68c70f011833c356075" \
88
RUBYGEMS_VERSION=3.6.9 \
9-
GOLANG_VERSION=1.24.3 \
9+
GOLANG_VERSION=1.24.4 \
1010
GITLAB_SHELL_VERSION=14.42.0 \
11-
GITLAB_PAGES_VERSION=18.0.1 \
12-
GITALY_SERVER_VERSION=18.0.1 \
11+
GITLAB_PAGES_VERSION=18.0.2 \
12+
GITALY_SERVER_VERSION=18.0.2 \
1313
GITLAB_USER="git" \
1414
GITLAB_HOME="/home/git" \
1515
GITLAB_LOG_DIR="/var/log/gitlab" \

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sameersbn/gitlab:18.0.1
1+
# sameersbn/gitlab:18.0.2
22

33
[![CircleCI](https://circleci.com/gh/sameersbn/docker-gitlab/tree/master.svg?style=svg)](https://circleci.com/gh/sameersbn/docker-gitlab/tree/master)
44

@@ -127,7 +127,7 @@ Your docker host needs to have 1GB or more of available RAM to run GitLab. Pleas
127127
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/gitlab) and is the recommended method of installation.
128128

129129
```bash
130-
docker pull sameersbn/gitlab:18.0.1
130+
docker pull sameersbn/gitlab:18.0.2
131131
```
132132

133133
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -198,7 +198,7 @@ docker run --name gitlab -d \
198198
--env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
199199
--env 'GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE=long-and-random-alpha-numeric-string' \
200200
--volume /srv/docker/gitlab/gitlab:/home/git/data \
201-
sameersbn/gitlab:18.0.1
201+
sameersbn/gitlab:18.0.2
202202
```
203203

204204
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -233,7 +233,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
233233
```bash
234234
docker run --name gitlab -d \
235235
--volume /srv/docker/gitlab/gitlab:/home/git/data \
236-
sameersbn/gitlab:18.0.1
236+
sameersbn/gitlab:18.0.2
237237
```
238238

239239
### Database
@@ -274,7 +274,7 @@ Please note furthermore, that only compatible versions of the `postgresql-client
274274
- GitLab CE version 13.7.0 and later requires PostgreSQL version 12.x.
275275
- GitLab CE version 16.0.0 and later requires PostgreSQL version 13.x.
276276
- GitLab CE version 17.0.0 and later requires PostgreSQL version 14.x.
277-
- GitLab CE version 18.0.1 and later requires PostgreSQL version 16.x.
277+
- GitLab CE version 18.0.2 and later requires PostgreSQL version 16.x.
278278

279279
##### External PostgreSQL Server
280280

@@ -298,7 +298,7 @@ docker run --name gitlab -d \
298298
--env 'DB_NAME=gitlabhq_production' \
299299
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
300300
--volume /srv/docker/gitlab/gitlab:/home/git/data \
301-
sameersbn/gitlab:18.0.1
301+
sameersbn/gitlab:18.0.2
302302
```
303303

304304
##### Linking to PostgreSQL Container
@@ -342,7 +342,7 @@ We are now ready to start the GitLab application.
342342
```bash
343343
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
344344
--volume /srv/docker/gitlab/gitlab:/home/git/data \
345-
sameersbn/gitlab:18.0.1
345+
sameersbn/gitlab:18.0.2
346346
```
347347

348348
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the postgresql container as they are specified in the `docker run` command for the postgresql container. This is made possible using the magic of docker links and works with the following images:
@@ -380,7 +380,7 @@ The image can be configured to use an external redis server. The configuration s
380380
```bash
381381
docker run --name gitlab -it --rm \
382382
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
383-
sameersbn/gitlab:18.0.1
383+
sameersbn/gitlab:18.0.2
384384
```
385385

386386
#### Linking to Redis Container
@@ -407,7 +407,7 @@ We are now ready to start the GitLab application.
407407

408408
```bash
409409
docker run --name gitlab -d --link gitlab-redis:redisio \
410-
sameersbn/gitlab:18.0.1
410+
sameersbn/gitlab:18.0.2
411411
```
412412

413413
#### Mail
@@ -420,7 +420,7 @@ If you are using Gmail then all you need to do is:
420420
docker run --name gitlab -d \
421421
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
422422
--volume /srv/docker/gitlab/gitlab:/home/git/data \
423-
sameersbn/gitlab:18.0.1
423+
sameersbn/gitlab:18.0.2
424424
```
425425

426426
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -440,7 +440,7 @@ docker run --name gitlab -d \
440440
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
441441
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
442442
--volume /srv/docker/gitlab/gitlab:/home/git/data \
443-
sameersbn/gitlab:18.0.1
443+
sameersbn/gitlab:18.0.2
444444
```
445445

446446
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -524,7 +524,7 @@ docker run --name gitlab -d \
524524
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
525525
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
526526
--volume /srv/docker/gitlab/gitlab:/home/git/data \
527-
sameersbn/gitlab:18.0.1
527+
sameersbn/gitlab:18.0.2
528528
```
529529

530530
In this configuration, any requests made over the plain http protocol will automatically be redirected to use the https protocol. However, this is not optimal when using a load balancer.
@@ -540,7 +540,7 @@ docker run --name gitlab -d \
540540
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
541541
--env 'NGINX_HSTS_MAXAGE=2592000' \
542542
--volume /srv/docker/gitlab/gitlab:/home/git/data \
543-
sameersbn/gitlab:18.0.1
543+
sameersbn/gitlab:18.0.2
544544
```
545545

546546
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -563,7 +563,7 @@ docker run --name gitlab -d \
563563
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
564564
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
565565
--volume /srv/docker/gitlab/gitlab:/home/git/data \
566-
sameersbn/gitlab:18.0.1
566+
sameersbn/gitlab:18.0.2
567567
```
568568

569569
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -611,7 +611,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
611611
docker run --name gitlab -it --rm \
612612
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
613613
--volume /srv/docker/gitlab/gitlab:/home/git/data \
614-
sameersbn/gitlab:18.0.1
614+
sameersbn/gitlab:18.0.2
615615
```
616616

617617
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -817,14 +817,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
817817
```bash
818818
docker run --name gitlab -it --rm [options] \
819819
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
820-
sameersbn/gitlab:18.0.1
820+
sameersbn/gitlab:18.0.2
821821
```
822822

823823
When changing this mapping, all files and directories in the mounted data volume `/home/git/data` have to be re-owned by the new ids. This can be achieved automatically using the following command:
824824

825825
```bash
826826
docker run --name gitlab -d [OPTIONS] \
827-
sameersbn/gitlab:18.0.1 app:sanitize
827+
sameersbn/gitlab:18.0.2 app:sanitize
828828
```
829829

830830
#### Piwik
@@ -2567,7 +2567,7 @@ Execute the rake task to create a backup.
25672567

25682568
```bash
25692569
docker run --name gitlab -it --rm [OPTIONS] \
2570-
sameersbn/gitlab:18.0.1 app:rake gitlab:backup:create
2570+
sameersbn/gitlab:18.0.2 app:rake gitlab:backup:create
25712571
```
25722572

25732573
A backup will be created in the backups folder of the [Data Store](#data-store). You can change the location of the backups using the `GITLAB_BACKUP_DIR` configuration parameter.
@@ -2602,14 +2602,14 @@ you need to prepare the database:
26022602

26032603
```bash
26042604
docker run --name gitlab -it --rm [OPTIONS] \
2605-
sameersbn/gitlab:18.0.1 app:rake db:setup
2605+
sameersbn/gitlab:18.0.2 app:rake db:setup
26062606
```
26072607

26082608
Execute the rake task to restore a backup. Make sure you run the container in interactive mode `-it`.
26092609

26102610
```bash
26112611
docker run --name gitlab -it --rm [OPTIONS] \
2612-
sameersbn/gitlab:18.0.1 app:rake gitlab:backup:restore
2612+
sameersbn/gitlab:18.0.2 app:rake gitlab:backup:restore
26132613
```
26142614

26152615
The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue.
@@ -2618,7 +2618,7 @@ To avoid user interaction in the restore operation, specify the timestamp, date
26182618

26192619
```bash
26202620
docker run --name gitlab -it --rm [OPTIONS] \
2621-
sameersbn/gitlab:18.0.1 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
2621+
sameersbn/gitlab:18.0.2 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
26222622
```
26232623

26242624
When using `docker-compose` you may use the following command to execute the restore.
@@ -2667,7 +2667,7 @@ The `app:rake` command allows you to run gitlab rake tasks. To run a rake task s
26672667

26682668
```bash
26692669
docker run --name gitlab -it --rm [OPTIONS] \
2670-
sameersbn/gitlab:18.0.1 app:rake gitlab:env:info
2670+
sameersbn/gitlab:18.0.2 app:rake gitlab:env:info
26712671
```
26722672

26732673
You can also use `docker exec` to run raketasks on running gitlab instance. For example,
@@ -2680,7 +2680,7 @@ Similarly, to import bare repositories into GitLab project instance
26802680

26812681
```bash
26822682
docker run --name gitlab -it --rm [OPTIONS] \
2683-
sameersbn/gitlab:18.0.1 app:rake gitlab:import:repos
2683+
sameersbn/gitlab:18.0.2 app:rake gitlab:import:repos
26842684
```
26852685

26862686
Or
@@ -2711,7 +2711,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
27112711

27122712
```bash
27132713
docker run --name gitlab -it --rm [OPTIONS] \
2714-
sameersbn/gitlab:18.0.1 app:rake gitlab:import:repos
2714+
sameersbn/gitlab:18.0.2 app:rake gitlab:import:repos
27152715
```
27162716

27172717
Watch the logs and your repositories should be available into your new gitlab container.
@@ -2732,7 +2732,7 @@ Usage when using `docker-compose` can also be found there.
27322732
> - As of version 13.7.0, the required PostgreSQL version is 12.x.
27332733
> - As of version 16.0.0, the required PostgreSQL version is 13.x.
27342734
> - As of version 17.0.0, the required PostgreSQL version is 14.x.
2735-
> - As of version 18.0.1, the required PostgreSQL version is 16.x.
2735+
> - As of version 18.0.2, the required PostgreSQL version is 16.x.
27362736
>
27372737
> If you're using PostgreSQL image other than the above, please review section [Upgrading PostgreSQL](#upgrading-postgresql).
27382738

@@ -2742,12 +2742,12 @@ To upgrade to newer gitlab releases, simply follow this 4 step upgrade procedure
27422742

27432743
> **Note**
27442744
>
2745-
> Upgrading to `sameersbn/gitlab:18.0.1` from `sameersbn/gitlab:7.x.x` can cause issues. It is therefore required that you first upgrade to `sameersbn/gitlab:8.0.5-1` before upgrading to `sameersbn/gitlab:8.1.0` or higher.
2745+
> Upgrading to `sameersbn/gitlab:18.0.2` from `sameersbn/gitlab:7.x.x` can cause issues. It is therefore required that you first upgrade to `sameersbn/gitlab:8.0.5-1` before upgrading to `sameersbn/gitlab:8.1.0` or higher.
27462746

27472747
- **Step 1**: Update the docker image.
27482748

27492749
```bash
2750-
docker pull sameersbn/gitlab:18.0.1
2750+
docker pull sameersbn/gitlab:18.0.2
27512751
```
27522752

27532753
- **Step 2**: Stop and remove the currently running image
@@ -2773,7 +2773,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
27732773
> **Note**: Since Gitlab 13.7 you need to provide the `GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE` parameter while starting the image. If not provided, the key will be generated by gitlab. So you can start the image without setting this parameter. But you will lose the key when you shutting down the container without taking a backup of `secrets.yml`.
27742774

27752775
```bash
2776-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:18.0.1
2776+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:18.0.2
27772777
```
27782778

27792779
### Shell Access
@@ -2809,7 +2809,7 @@ You can also set your `docker-compose.yml` [healthcheck](https://docs.docker.com
28092809
```yml
28102810
services:
28112811
gitlab:
2812-
image: sameersbn/gitlab:18.0.1
2812+
image: sameersbn/gitlab:18.0.2
28132813
healthcheck:
28142814
test: ["CMD", "/usr/local/sbin/healthcheck"]
28152815
interval: 1m

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.0.1
1+
18.0.2

contrib/docker-swarm/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020

2121
gitlab:
2222
restart: always
23-
image: sameersbn/gitlab:18.0.1
23+
image: sameersbn/gitlab:18.0.2
2424
depends_on:
2525
- redis
2626
- postgresql

docker-compose.swarm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ services:
6262
- traefik-public
6363

6464
gitlab:
65-
image: sameersbn/gitlab:18.0.1
65+
image: sameersbn/gitlab:18.0.2
6666
depends_on:
6767
- redis
6868
- postgresql

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121

2222
gitlab:
2323
restart: always
24-
image: sameersbn/gitlab:18.0.1
24+
image: sameersbn/gitlab:18.0.2
2525
depends_on:
2626
- redis
2727
- postgresql

docs/container_registry.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ Execute the rake task with a removeable container.
291291

292292
```bash
293293
docker run --name gitlab -it --rm [OPTIONS] \
294-
sameersbn/gitlab:18.0.1 app:rake gitlab:backup:create
294+
sameersbn/gitlab:18.0.2 app:rake gitlab:backup:create
295295
```
296296

297297
### Restoring Backups
@@ -308,7 +308,7 @@ Execute the rake task to restore a backup. Make sure you run the container in in
308308

309309
```bash
310310
docker run --name gitlab -it --rm [OPTIONS] \
311-
sameersbn/gitlab:18.0.1 app:rake gitlab:backup:restore
311+
sameersbn/gitlab:18.0.2 app:rake gitlab:backup:restore
312312
```
313313

314314
The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue.
@@ -317,7 +317,7 @@ To avoid user interaction in the restore operation, specify the timestamp of the
317317

318318
```bash
319319
docker run --name gitlab -it --rm [OPTIONS] \
320-
sameersbn/gitlab:18.0.1 app:rake gitlab:backup:restore BACKUP=1417624827
320+
sameersbn/gitlab:18.0.2 app:rake gitlab:backup:restore BACKUP=1417624827
321321
```
322322

323323
## Upgrading from an existing GitLab installation
@@ -327,7 +327,7 @@ If you want enable this feature for an existing instance of GitLab you need to d
327327
- **Step 1**: Update the docker image.
328328

329329
```bash
330-
docker pull sameersbn/gitlab:18.0.1
330+
docker pull sameersbn/gitlab:18.0.2
331331
```
332332

333333
- **Step 2**: Stop and remove the currently running image
@@ -381,7 +381,7 @@ docker run --name gitlab -d [PREVIOUS_OPTIONS] \
381381
--env 'GITLAB_REGISTRY_CERT_PATH=/certs/registry-auth.crt' \
382382
--env 'GITLAB_REGISTRY_KEY_PATH=/certs/registry-auth.key' \
383383
--link registry:registry
384-
sameersbn/gitlab:18.0.1
384+
sameersbn/gitlab:18.0.2
385385
```
386386

387387
[storage-config]: https://docs.docker.com/registry/configuration/#storage

docs/docker-compose-keycloak.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020

2121
gitlab:
2222
restart: always
23-
image: sameersbn/gitlab:18.0.1
23+
image: sameersbn/gitlab:18.0.2
2424
depends_on:
2525
- redis
2626
- postgresql

docs/docker-compose-registry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020

2121
gitlab:
2222
restart: always
23-
image: sameersbn/gitlab:18.0.1
23+
image: sameersbn/gitlab:18.0.2
2424
volumes:
2525
- gitlab-data:/home/git/data:Z
2626
- gitlab-logs:/var/log/gitlab

0 commit comments

Comments
 (0)