From 5fed2b3192f0638c38a571b8a6bb592528a1829f Mon Sep 17 00:00:00 2001 From: Justin Littman Date: Wed, 24 Feb 2016 15:32:39 -0500 Subject: [PATCH] Added git as requirement. --- docker/app-dev-runserver/Dockerfile | 3 +-- docker/app-dev/Dockerfile | 3 +-- docker/app-master/Dockerfile | 3 +-- requirements/requirements.apt | 1 + 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docker/app-dev-runserver/Dockerfile b/docker/app-dev-runserver/Dockerfile index 21536cb2..71e32616 100644 --- a/docker/app-dev-runserver/Dockerfile +++ b/docker/app-dev-runserver/Dockerfile @@ -4,8 +4,7 @@ MAINTAINER Rajat Vij #This pre-fetches the most recent requirements.apt. ADD https://raw.githubusercontent.com/gwu-libraries/sfm-ui/master/requirements/requirements.apt /opt/sfm-setup/ -RUN apt-get update && apt-get install -y \ - git=1:1.9.1-1ubuntu0.2 +RUN apt-get update RUN cat /opt/sfm-setup/requirements.apt | tr "\n" " " | xargs apt-get install -y RUN pip install pip==7.1.2 #This pre-fetches the most recent requirements.txt. diff --git a/docker/app-dev/Dockerfile b/docker/app-dev/Dockerfile index 37265ee1..ed7c4574 100644 --- a/docker/app-dev/Dockerfile +++ b/docker/app-dev/Dockerfile @@ -4,8 +4,7 @@ MAINTAINER Rajat Vij #This pre-fetches the most recent requirements.apt. ADD https://raw.githubusercontent.com/gwu-libraries/sfm-ui/master/requirements/requirements.apt /opt/sfm-setup/ -RUN apt-get update && apt-get install -y \ - git=1:1.9.1-1ubuntu0.2 +RUN apt-get update RUN cat /opt/sfm-setup/requirements.apt | tr "\n" " " | xargs apt-get install -y RUN pip install pip==7.1.2 #This pre-fetches the most recent requirements.txt. diff --git a/docker/app-master/Dockerfile b/docker/app-master/Dockerfile index 8ddf9f88..bdaa0c29 100644 --- a/docker/app-master/Dockerfile +++ b/docker/app-master/Dockerfile @@ -5,8 +5,7 @@ MAINTAINER Rajat Vij #This pre-fetches the most recent requirements.apt. ADD https://raw.githubusercontent.com/gwu-libraries/sfm-ui/master/requirements/requirements.apt /tmp/ RUN apt-get update && apt-get install -y \ - zip=3.0-8 \ - git=1:1.9.1-1ubuntu0.2 + zip=3.0-8 RUN cat /tmp/requirements.apt | tr "\n" " " | xargs apt-get install -y #Upgrade pip RUN pip install pip==7.1.2 diff --git a/requirements/requirements.apt b/requirements/requirements.apt index 232745ae..bc6bd5be 100644 --- a/requirements/requirements.apt +++ b/requirements/requirements.apt @@ -6,3 +6,4 @@ libpq-dev=9.3.11-0ubuntu0.14.04 python-pip=1.5.4-1ubuntu3 apache2=2.4.7-1ubuntu4.9 libapache2-mod-wsgi=3.4-4ubuntu2.1.14.04.2 +git=1:1.9.1-1ubuntu0.2 \ No newline at end of file