Skip to content

Commit 93e05ff

Browse files
committed
Merge branch 'gitlab-12.9.5' into 'master'
Gitlab 12.9.5 See merge request docker-images/gitlab!3
2 parents e63965e + 53ea2d7 commit 93e05ff

File tree

6 files changed

+40
-39
lines changed

6 files changed

+40
-39
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
FROM ubuntu:bionic-20200219
22

3-
ARG BUILD_DATE
4-
ARG VCS_REF
5-
ARG VERSION=12.9.4
3+
ARG VERSION=12.9.5
64

75
ENV GITLAB_VERSION=${VERSION} \
86
RUBY_VERSION=2.6 \
97
GOLANG_VERSION=1.13.10 \
10-
GITLAB_SHELL_VERSION=12.0.0 \
8+
GITLAB_SHELL_VERSION=12.2.0 \
119
GITLAB_WORKHORSE_VERSION=8.25.2 \
1210
GITLAB_PAGES_VERSION=1.17.0 \
13-
GITALY_SERVER_VERSION=12.9.4 \
11+
GITALY_SERVER_VERSION=12.10.0 \
1412
GITLAB_USER="git" \
1513
GITLAB_HOME="/home/git" \
1614
GITLAB_LOG_DIR="/var/log/gitlab" \
@@ -63,6 +61,9 @@ COPY assets/runtime/ ${GITLAB_RUNTIME_DIR}/
6361
COPY entrypoint.sh /sbin/entrypoint.sh
6462
RUN chmod 755 /sbin/entrypoint.sh
6563

64+
ARG BUILD_DATE
65+
ARG VCS_REF
66+
6667
LABEL \
6768
maintainer="[email protected]" \
6869
org.label-schema.schema-version="1.0" \

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![](https://images.microbadger.com/badges/image/sameersbn/gitlab.svg)](http://microbadger.com/images/sameersbn/gitlab "Get your own image badge on microbadger.com")
22

3-
# sameersbn/gitlab:12.9.4
3+
# sameersbn/gitlab:12.9.5
44

55
- [Introduction](#introduction)
66
- [Changelog](Changelog.md)
@@ -122,7 +122,7 @@ Your docker host needs to have 1GB or more of available RAM to run GitLab. Pleas
122122
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/gitlab) and is the recommended method of installation.
123123

124124
```bash
125-
docker pull sameersbn/gitlab:12.9.4
125+
docker pull sameersbn/gitlab:12.9.5
126126
```
127127

128128
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -191,7 +191,7 @@ docker run --name gitlab -d \
191191
--env 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \
192192
--env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
193193
--volume /srv/docker/gitlab/gitlab:/home/git/data \
194-
sameersbn/gitlab:12.9.4
194+
sameersbn/gitlab:12.9.5
195195
```
196196

197197
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -226,7 +226,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
226226
```bash
227227
docker run --name gitlab -d \
228228
--volume /srv/docker/gitlab/gitlab:/home/git/data \
229-
sameersbn/gitlab:12.9.4
229+
sameersbn/gitlab:12.9.5
230230
```
231231

232232
## Database
@@ -259,7 +259,7 @@ docker run --name gitlab -d \
259259
--env 'DB_NAME=gitlabhq_production' \
260260
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
261261
--volume /srv/docker/gitlab/gitlab:/home/git/data \
262-
sameersbn/gitlab:12.9.4
262+
sameersbn/gitlab:12.9.5
263263
```
264264

265265
#### Linking to PostgreSQL Container
@@ -303,7 +303,7 @@ We are now ready to start the GitLab application.
303303
```bash
304304
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
305305
--volume /srv/docker/gitlab/gitlab:/home/git/data \
306-
sameersbn/gitlab:12.9.4
306+
sameersbn/gitlab:12.9.5
307307
```
308308

309309
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:
@@ -330,7 +330,7 @@ The image can be configured to use an external redis server. The configuration s
330330
```bash
331331
docker run --name gitlab -it --rm \
332332
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
333-
sameersbn/gitlab:12.9.4
333+
sameersbn/gitlab:12.9.5
334334
```
335335

336336
### Linking to Redis Container
@@ -357,7 +357,7 @@ We are now ready to start the GitLab application.
357357

358358
```bash
359359
docker run --name gitlab -d --link gitlab-redis:redisio \
360-
sameersbn/gitlab:12.9.4
360+
sameersbn/gitlab:12.9.5
361361
```
362362

363363
### Mail
@@ -370,7 +370,7 @@ If you are using Gmail then all you need to do is:
370370
docker run --name gitlab -d \
371371
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
372372
--volume /srv/docker/gitlab/gitlab:/home/git/data \
373-
sameersbn/gitlab:12.9.4
373+
sameersbn/gitlab:12.9.5
374374
```
375375

376376
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -390,7 +390,7 @@ docker run --name gitlab -d \
390390
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
391391
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
392392
--volume /srv/docker/gitlab/gitlab:/home/git/data \
393-
sameersbn/gitlab:12.9.4
393+
sameersbn/gitlab:12.9.5
394394
```
395395

396396
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -467,7 +467,7 @@ docker run --name gitlab -d \
467467
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
468468
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
469469
--volume /srv/docker/gitlab/gitlab:/home/git/data \
470-
sameersbn/gitlab:12.9.4
470+
sameersbn/gitlab:12.9.5
471471
```
472472

473473
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.
@@ -483,7 +483,7 @@ docker run --name gitlab -d \
483483
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
484484
--env 'NGINX_HSTS_MAXAGE=2592000' \
485485
--volume /srv/docker/gitlab/gitlab:/home/git/data \
486-
sameersbn/gitlab:12.9.4
486+
sameersbn/gitlab:12.9.5
487487
```
488488

489489
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -506,7 +506,7 @@ docker run --name gitlab -d \
506506
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
507507
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
508508
--volume /srv/docker/gitlab/gitlab:/home/git/data \
509-
sameersbn/gitlab:12.9.4
509+
sameersbn/gitlab:12.9.5
510510
```
511511

512512
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -554,7 +554,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
554554
docker run --name gitlab -it --rm \
555555
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
556556
--volume /srv/docker/gitlab/gitlab:/home/git/data \
557-
sameersbn/gitlab:12.9.4
557+
sameersbn/gitlab:12.9.5
558558
```
559559

560560
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -735,14 +735,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
735735
```bash
736736
docker run --name gitlab -it --rm [options] \
737737
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
738-
sameersbn/gitlab:12.9.4
738+
sameersbn/gitlab:12.9.5
739739
```
740740

741741
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:
742742

743743
```bash
744744
docker run --name gitlab -d [OPTIONS] \
745-
sameersbn/gitlab:12.9.4 app:sanitize
745+
sameersbn/gitlab:12.9.5 app:sanitize
746746
```
747747

748748
### Piwik
@@ -1123,7 +1123,7 @@ Execute the rake task to create a backup.
11231123

11241124
```bash
11251125
docker run --name gitlab -it --rm [OPTIONS] \
1126-
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:create
1126+
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:create
11271127
```
11281128

11291129
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.
@@ -1158,14 +1158,14 @@ you need to prepare the database:
11581158

11591159
```bash
11601160
docker run --name gitlab -it --rm [OPTIONS] \
1161-
sameersbn/gitlab:12.9.4 app:rake db:setup
1161+
sameersbn/gitlab:12.9.5 app:rake db:setup
11621162
```
11631163

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

11661166
```bash
11671167
docker run --name gitlab -it --rm [OPTIONS] \
1168-
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore
1168+
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:restore
11691169
```
11701170

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

11751175
```bash
11761176
docker run --name gitlab -it --rm [OPTIONS] \
1177-
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore BACKUP=1417624827
1177+
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:restore BACKUP=1417624827
11781178
```
11791179

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

12251225
```bash
12261226
docker run --name gitlab -it --rm [OPTIONS] \
1227-
sameersbn/gitlab:12.9.4 app:rake gitlab:env:info
1227+
sameersbn/gitlab:12.9.5 app:rake gitlab:env:info
12281228
```
12291229

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

12381238
```bash
12391239
docker run --name gitlab -it --rm [OPTIONS] \
1240-
sameersbn/gitlab:12.9.4 app:rake gitlab:import:repos
1240+
sameersbn/gitlab:12.9.5 app:rake gitlab:import:repos
12411241
```
12421242

12431243
Or
@@ -1268,7 +1268,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
12681268

12691269
```bash
12701270
docker run --name gitlab -it --rm [OPTIONS] \
1271-
sameersbn/gitlab:12.9.4 app:rake gitlab:import:repos
1271+
sameersbn/gitlab:12.9.5 app:rake gitlab:import:repos
12721272
```
12731273

12741274
Watch the logs and your repositories should be available into your new gitlab container.
@@ -1290,12 +1290,12 @@ To upgrade to newer gitlab releases, simply follow this 4 step upgrade procedure
12901290

12911291
> **Note**
12921292
>
1293-
> Upgrading to `sameersbn/gitlab:12.9.4` 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.
1293+
> Upgrading to `sameersbn/gitlab:12.9.5` 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.
12941294
12951295
- **Step 1**: Update the docker image.
12961296

12971297
```bash
1298-
docker pull sameersbn/gitlab:12.9.4
1298+
docker pull sameersbn/gitlab:12.9.5
12991299
```
13001300

13011301
- **Step 2**: Stop and remove the currently running image
@@ -1321,7 +1321,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
13211321
> **Note**: Since GitLab `8.11.0` you need to provide the `GITLAB_SECRETS_SECRET_KEY_BASE` and `GITLAB_SECRETS_OTP_KEY_BASE` parameters while starting the image. These should initially both have the same value as the contents of the `/home/git/data/.secret` file. See [Available Configuration Parameters](#available-configuration-parameters) for more information on these parameters.
13221322
13231323
```bash
1324-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:12.9.4
1324+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:12.9.5
13251325
```
13261326

13271327
## Shell Access

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.9.4
1+
12.9.5

docker-compose.yml

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

2323
gitlab:
2424
restart: always
25-
image: sameersbn/gitlab:12.9.4
25+
image: sameersbn/gitlab:12.9.5
2626
depends_on:
2727
- redis
2828
- postgresql

docs/container_registry.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ docker stop registry gitlab && docker rm registry gitlab
284284
Execute the rake task with a removeable container.
285285
```bash
286286
docker run --name gitlab -it --rm [OPTIONS] \
287-
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:create
287+
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:create
288288
```
289289
## Restoring Backups
290290

@@ -300,7 +300,7 @@ Execute the rake task to restore a backup. Make sure you run the container in in
300300

301301
```bash
302302
docker run --name gitlab -it --rm [OPTIONS] \
303-
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore
303+
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:restore
304304
```
305305

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

310310
```bash
311311
docker run --name gitlab -it --rm [OPTIONS] \
312-
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore BACKUP=1417624827
312+
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:restore BACKUP=1417624827
313313
```
314314

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

322322
```bash
323-
docker pull sameersbn/gitlab:12.9.4
323+
docker pull sameersbn/gitlab:12.9.5
324324
```
325325

326326
- **Step 2**: Stop and remove the currently running image
@@ -373,7 +373,7 @@ docker run --name gitlab -d [PREVIOUS_OPTIONS] \
373373
--env 'GITLAB_REGISTRY_CERT_PATH=/certs/registry-auth.crt' \
374374
--env 'GITLAB_REGISTRY_KEY_PATH=/certs/registry-auth.key' \
375375
--link registry:registry
376-
sameersbn/gitlab:12.9.4
376+
sameersbn/gitlab:12.9.5
377377
```
378378

379379

kubernetes/gitlab-rc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: gitlab
17-
image: sameersbn/gitlab:12.9.4
17+
image: sameersbn/gitlab:12.9.5
1818
env:
1919
- name: TZ
2020
value: Asia/Kolkata

0 commit comments

Comments
 (0)