SimpleRouter/docker/image-php-7.4.1/Dockerfile
2020-01-14 11:49:30 +01:00

19 lines
438 B
Docker

FROM php:7.4.1-apache
RUN a2enmod rewrite
# Install composer
# https://www.hostinger.com/tutorials/how-to-install-composer
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
# Install zip
RUN apt-get install zip -y