add composer
This commit is contained in:
parent
a07597d24d
commit
314e52a38e
|
@ -2,12 +2,14 @@ FROM debian:buster
|
|||
|
||||
MAINTAINER Christopher <christopher@chris-latza.de>
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue