@@ -2,11 +2,10 @@ FROM tiredofit/debian:buster
2
2
LABEL maintainer="Dave Conroy (dave at tiredofit dot ca)"
3
3
4
4
# ## Set Defaults and Arguments
5
- ENV GITLAB_VERSION="13.9.4 -ee" \
5
+ ENV GITLAB_VERSION="13.10.0 -ee" \
6
6
GITLAB_SHELL_VERSION="13.17.0" \
7
- GITLAB_WORKHORSE_VERSION="8.63.2" \
8
- GITLAB_PAGES_VERSION="1.35.0" \
9
- GITALY_SERVER_VERSION="13.9.4" \
7
+ GITLAB_PAGES_VERSION="1.36.0" \
8
+ GITALY_SERVER_VERSION="13.10.0" \
10
9
GITLAB_ELASTICSEARCH_INDEXER_VERSION="2.9.0" \
11
10
GITLAB_USER="git" \
12
11
GITLAB_HOME="/home/git" \
@@ -194,6 +193,7 @@ RUN set -x && \
194
193
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
195
194
curl -ssL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - && \
196
195
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/postgres.list && \
196
+ echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/buster-backports.list && \
197
197
apt-get update && \
198
198
apt-get install -y \
199
199
gettext-base \
@@ -235,7 +235,7 @@ RUN set -x && \
235
235
g++ \
236
236
gcc \
237
237
gettext \
238
- git \
238
+ git/buster-backports \
239
239
libc6-dev \
240
240
libcurl4-openssl-dev \
241
241
libexpat1-dev \
@@ -288,10 +288,10 @@ RUN set -x && \
288
288
sudo -u ${GITLAB_USER} git config --global gc.auto 0 && \
289
289
sudo -u ${GITLAB_USER} git config --global repack.writeBitmaps true && \
290
290
sudo -u ${GITLAB_USER} git config --global receive.advertisePushOptions true && \
291
- sudo -u ${GITLAB_USER} git config --global core.fsyncObjectFiles true
291
+ sudo -u ${GITLAB_USER} git config --global core.fsyncObjectFiles true && \
292
292
\
293
293
# ## Download and Install Gitlab
294
- RUN set -x; GITLAB_CLONE_URL=https://gitlab.com/gitlab-org/gitlab.git && \
294
+ GITLAB_CLONE_URL=https://gitlab.com/gitlab-org/gitlab.git && \
295
295
mkdir -p ${GITLAB_INSTALL_DIR} && \
296
296
git clone -q -b v${GITLAB_VERSION} --depth 1 ${GITLAB_CLONE_URL} ${GITLAB_INSTALL_DIR} && \
297
297
\
@@ -350,6 +350,10 @@ RUN set -x; GITLAB_CLONE_URL=https://gitlab.com/gitlab-org/gitlab.git && \
350
350
# ## disable default nginx configuration and enable gitlab's nginx configuration
351
351
rm -rf /etc/nginx/conf.d/default.conf && \
352
352
\
353
+ # ## Install Gitlab Workhorse
354
+ echo "Building Gitlab Workhorse" && \
355
+ make -C ${GITLAB_INSTALL_DIR}/workhorse install && \
356
+ \
353
357
# ## Download and Install Gitlab-Shell
354
358
cd ${GITLAB_HOME} && \
355
359
GITLAB_SHELL_URL=https://gitlab.com/gitlab-org/gitlab-shell/repository/archive.tar.gz && \
@@ -368,13 +372,6 @@ RUN set -x; GITLAB_CLONE_URL=https://gitlab.com/gitlab-org/gitlab.git && \
368
372
\
369
373
sudo -HEu git rm -rf ${GITLAB_HOME}/repositories && \
370
374
\
371
- # ## Download And Install Gitlab Workhorse
372
- GITLAB_WORKHORSE_URL=https://gitlab.com/gitlab-org/gitlab-workhorse.git && \
373
- GITLAB_WORKHORSE_VERSION=${GITLAB_WORKHOUSE_VERSION:-$(cat ${GITLAB_INSTALL_DIR}/GITLAB_WORKHORSE_VERSION)} && \
374
- echo "Cloning gitlab-workhorse v.${GITLAB_WORKHORSE_VERSION}..." && \
375
- git clone -q -b v${GITLAB_WORKHORSE_VERSION} --depth 1 ${GITLAB_WORKHORSE_URL} /usr/src/gitlab-workhorse && \
376
- make -C /usr/src/gitlab-workhorse install && \
377
- \
378
375
# ## Download and Install Gitlab Elasticsearch-indexer
379
376
GITLAB_ELASTICSEARCH_INDEXER_URL=https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer && \
380
377
GITLAB_ELASTICSEARCH_INDEXER_VERSION=${GITLAB_ELASTICSEARCH_INDEXER_VERSION:-$(cat ${GITLAB_INSTALL_DIR}/GITLAB_ELASTICSEARCH_INDEXER_VERSION)} && \
@@ -411,6 +408,7 @@ RUN set -x; GITLAB_CLONE_URL=https://gitlab.com/gitlab-org/gitlab.git && \
411
408
# # Install Git that comes with Gitaly
412
409
make -C /usr/src/gitaly git GIT_PREFIX=/usr/local && \
413
410
\
411
+ # # Final Cleanup
414
412
rm -rf ${GITLAB_HOME}/.ssh && \
415
413
sudo -HEu git ln -sf ${GITLAB_DATA_DIR}/.ssh ${GITLAB_HOME}/.ssh && \
416
414
sed -i \
0 commit comments