diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2018-10-15 17:10:26 +1100 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2018-10-15 17:10:26 +1100 |
commit | 6d0f030aa7e590ba6c160cc3b7ca52058a855e14 (patch) | |
tree | 706ad454e4d534265ef638c4f06868a59b3a56c0 /qa | |
parent | 75b6ed8d2d0591efa19b02173c0524551e95f691 (diff) | |
download | gitlab-ce-6d0f030aa7e590ba6c160cc3b7ca52058a855e14.tar.gz |
Install git from stretch-backports
Diffstat (limited to 'qa')
-rw-r--r-- | qa/Dockerfile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/qa/Dockerfile b/qa/Dockerfile index abf2184e1e2..db1e6c9a84c 100644 --- a/qa/Dockerfile +++ b/qa/Dockerfile @@ -3,10 +3,20 @@ LABEL maintainer "Grzegorz Bizon <grzegorz@gitlab.com>" ENV DEBIAN_FRONTEND noninteractive ## +# Add support for stretch-backports +# +RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list + +## # Update APT sources and install some dependencies # RUN sed -i "s/httpredir.debian.org/ftp.us.debian.org/" /etc/apt/sources.list -RUN apt-get update && apt-get install -y wget git unzip xvfb +RUN apt-get update && apt-get install -y wget unzip xvfb + +## +# Install some packages from backports +# +RUN apt-get -y -t stretch-backports install git ## # Install Docker |