Added git unzip, required for composer

This commit is contained in:
Deon George 2018-05-06 10:01:23 +10:00
parent fc28d4fe09
commit 3df8ec4de2
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# NAME leenooks/php
# VERSION 7.2-fpm-mysql
# VERSION 7.2-fpm-mp
FROM php:7.2-fpm
RUN apt-get update && apt-get install -y openssh-server ssmtp libpq-dev && rm -rf /var/lib/apt/lists/* /tmp/* \
RUN apt-get update && apt-get install -y openssh-server ssmtp libpq-dev unzip git && rm -rf /var/lib/apt/lists/* /tmp/* \
&& useradd -c "Hosting Admin User" -u 1000 -g users -G www-data -d /var/www/html -M lamp \
&& sed -i -e 's/^mailhub=mail$/mailhub=smtp/' -e "s/^hostname=/#hostname=/" -e 's/#FromLineOverride=YES/FromLineOverride=YES/' /etc/ssmtp/ssmtp.conf