File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11FROM php:7.1-apache
22LABEL author=
"Devin Matte <[email protected] >" 33
4- COPY apache-config.conf /etc/apache2/sites-enabled/000-default.conf
5-
6- RUN a2enmod rewrite && a2enmod headers && a2enmod expires && \
7- sed -i '/Listen/{s/\( [0-9]\+\) /8080/; :a;n; ba}' /etc/apache2/ports.conf && \
8- chmod og+rwx /var/lock/apache2 && chmod -R og+rwx /var/run/apache2
9-
104RUN apt-get -yq update && \
11- apt-get -yq install gnupg libmagickwand-dev --no-install-recommends
5+ apt-get -yq install gnupg libmagickwand-dev git gcc make autoconf libc-dev pkg-config --no-install-recommends
126
137RUN docker-php-ext-install mysqli && \
14- pecl install imagick && docker-php-ext-enable imagick
8+ yes '' | pecl install imagick && docker-php-ext-enable imagick
159
1610RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1711
12+ COPY apache-config.conf /etc/apache2/sites-enabled/000-default.conf
13+
14+ RUN a2enmod rewrite && a2enmod headers && a2enmod expires && \
15+ sed -i '/Listen/{s/\( [0-9]\+\) /8080/; :a;n; ba}' /etc/apache2/ports.conf && \
16+ chmod og+rwx /var/lock/apache2 && chmod -R og+rwx /var/run/apache2
17+
1818COPY . /var/www/html
1919
2020RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
2121 && apt-get -yq update \
2222 && apt-get -yq install nodejs --no-install-recommends \
2323 && npm install \
2424 && npm run-script build \
25- && rm -rf node_modules \
2625 && apt-get -yq remove nodejs \
27- && apt-get -yq clean all
26+ && apt-get -yq clean all \
27+ && rm -rf node_modules
2828
2929RUN composer install
3030
You can’t perform that action at this time.
0 commit comments