From 96f49285bbce97d271e18a153ff5a4ba4d4ebdaa Mon Sep 17 00:00:00 2001 From: SteamPixel Date: Tue, 14 Jan 2020 11:39:36 +0100 Subject: [PATCH] Added git to docker setup --- docker/image-php-7.2/Dockerfile | 6 ++++++ docker/image-php-7.4.1/Dockerfile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docker/image-php-7.2/Dockerfile b/docker/image-php-7.2/Dockerfile index 8e00996..295267f 100644 --- a/docker/image-php-7.2/Dockerfile +++ b/docker/image-php-7.2/Dockerfile @@ -8,3 +8,9 @@ RUN a2enmod rewrite RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer RUN php -r "unlink('composer-setup.php');" + +# Update +RUN apt-get update -y + +# Install git +RUN apt-get install git -y diff --git a/docker/image-php-7.4.1/Dockerfile b/docker/image-php-7.4.1/Dockerfile index efec8ff..14a78ae 100644 --- a/docker/image-php-7.4.1/Dockerfile +++ b/docker/image-php-7.4.1/Dockerfile @@ -7,3 +7,9 @@ RUN a2enmod rewrite RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer RUN php -r "unlink('composer-setup.php');" + +# Update +RUN apt-get update -y + +# Install git +RUN apt-get install git -y