diff --git a/Dockerfile b/Dockerfile index 5660af8..2daca28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,14 @@ FROM debian:buster MAINTAINER Christopher -RUN apt-get update && apt-get install -y --fix-missing nano apache2 php php-cli php-ldap php-mysql php-imap php-xml php-mbstring php-intl php-apcu php-gd php-sqlite3 wget curl ffmpeg && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --fix-missing nano apache2 php php-cli php-ldap php-mysql php-imap php-xml php-mbstring php-intl php-apcu php-gd php-sqlite3 wget curl ffmpeg unzip git && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* RUN a2enmod rewrite RUN a2enmod remoteip RUN rm -r -f /var/www/html/* RUN chown -R www-data:www-data /var/www/html + +RUN curl -sS https://getcomposer.org/installer -o composer-setup.php && php composer-setup.php --install-dir=/usr/local/bin --filename=composer ENV APACHE_RUN_USER www-data ENV APACHE_RUN_GROUP www-data