You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
697 B

  1. FROM php:7.1-apache-jessie
  2. RUN apt-get update --fix-missing
  3. RUN apt-get -y install sudo &&\
  4. apt-get -y install curl &&\
  5. apt-get -y install git &&\
  6. apt-get -y install zip unzip &&\
  7. apt-get -y install vim && \
  8. apt-get -y install libicu-dev
  9. RUN docker-php-ext-configure intl
  10. RUN docker-php-ext-install pdo pdo_mysql mysqli intl
  11. RUN curl -sS https://getcomposer.org/installer | php && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
  12. RUN a2enmod rewrite
  13. RUN echo "ServerName compass" | sudo tee /etc/apache2/conf-available/servername.conf && a2enconf servername
  14. COPY ./000-default.conf /etc/apache2/sites-enabled/000-default.conf
  15. RUN apachectl graceful