summaryrefslogtreecommitdiff
path: root/qa/Dockerfile
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-10-15 17:10:26 +1100
committerAsh McKenzie <amckenzie@gitlab.com>2018-10-15 17:10:26 +1100
commit6d0f030aa7e590ba6c160cc3b7ca52058a855e14 (patch)
tree706ad454e4d534265ef638c4f06868a59b3a56c0 /qa/Dockerfile
parent75b6ed8d2d0591efa19b02173c0524551e95f691 (diff)
downloadgitlab-ce-6d0f030aa7e590ba6c160cc3b7ca52058a855e14.tar.gz
Install git from stretch-backports
Diffstat (limited to 'qa/Dockerfile')
-rw-r--r--qa/Dockerfile12
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