diff options
author | Stan Hu <stanhu@gmail.com> | 2019-07-15 23:42:15 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-15 23:43:00 +0300 |
commit | 1c38a6e02f76cde68e7726b01f3093f09bab221b (patch) | |
tree | 103ad0c4f5caace7e2df47405039f205877a9792 | |
parent | 816cf5875d8584543a903c90d92d88ae23b1264d (diff) |
Install latest version of Git
The standard Git version (v2.17) doesn't support all the features that
Gitaly needs (e.g. delta islands). We install the latest version
available in the PPA (v2.22).
Closes https://gitlab.com/gitlab-org/gitlab-development-kit/issues/553
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 2d88b6d2ce5..0684c6d13e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN useradd --user-group --create-home gdk ENV DEBIAN_FRONTEND=noninteractive COPY packages.txt / RUN apt-get update && apt-get install -y $(sed -e 's/#.*//' /packages.txt) +RUN add-apt-repository ppa:git-core/ppa -y && apt-get update && apt-get install -y git # stages for fetching remote content # highly cacheable |