File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,11 @@ RUN set -ex && \
45
45
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
46
46
sudo supervisor logrotate locales curl \
47
47
nginx openssh-server postgresql-client-12 postgresql-contrib-12 redis-tools \
48
- git-core python3 python3-docutils nodejs yarn gettext-base graphicsmagick \
48
+ python3 python3-docutils nodejs yarn gettext-base graphicsmagick \
49
49
libpq5 zlib1g libyaml-0-2 libssl1.1 \
50
50
libgdbm6 libreadline8 libncurses5 libffi7 \
51
51
libxml2 libxslt1.1 libcurl4 libicu66 libre2-dev tzdata unzip libimage-exiftool-perl \
52
+ libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev libpcre2-dev build-essential git-core \
52
53
libmagic1 \
53
54
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
54
55
&& locale-gen en_US.UTF-8 \
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ GITLAB_PAGES_VERSION=${GITLAB_PAGES_VERSION:-$(cat ${GITLAB_INSTALL_DIR}/GITLAB_
92
92
93
93
# install bundler: use version specified in Gemfile.lock
94
94
BUNDLER_VERSION=" $( grep " BUNDLED WITH" ${GITLAB_INSTALL_DIR} /Gemfile.lock -A 1 | grep -v " BUNDLED WITH" | tr -d " [:space:]" ) "
95
- gem install bundler:" ${BUNDLER_VERSION} "
95
+ gem install bundler:" ${BUNDLER_VERSION} "
96
96
97
97
# download golang
98
98
echo " Downloading Go ${GOLANG_VERSION} ..."
@@ -148,6 +148,10 @@ cp -a ${GITLAB_GITALY_BUILD_DIR}/config.toml.example ${GITLAB_GITALY_INSTALL_DIR
148
148
rm -rf ${GITLAB_GITALY_INSTALL_DIR} /ruby/vendor/bundle/ruby/** /cache
149
149
chown -R ${GITLAB_USER} : ${GITLAB_GITALY_INSTALL_DIR}
150
150
151
+ # install git bundled with gitaly.
152
+ make -C ${GITLAB_GITALY_BUILD_DIR} git GIT_PREFIX=/usr/local
153
+ apt remove -y git-core
154
+
151
155
# clean up
152
156
rm -rf ${GITLAB_GITALY_BUILD_DIR}
153
157
@@ -456,4 +460,4 @@ rm -rf /var/lib/apt/lists/*
456
460
# clean up caches
457
461
rm -rf ${GITLAB_HOME} /.cache ${GITLAB_HOME} /.bundle ${GITLAB_HOME} /go
458
462
rm -rf /root/.cache /root/.bundle ${GITLAB_HOME} /gitlab/node_modules
459
- rm -r /tmp/*
463
+ rm -r /tmp/*
You can’t perform that action at this time.
0 commit comments