ménage
This commit is contained in:
parent
f041551792
commit
f84de5ca62
10
Dockerfile
10
Dockerfile
@ -3,8 +3,14 @@ FROM "php:7.1-apache"
|
|||||||
RUN sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
|
RUN sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
|
||||||
sed -i'' 's/^<VirtualHost \*:80>$/<VirtualHost *:8080>/' '/etc/apache2/sites-enabled/000-default.conf' && \
|
sed -i'' 's/^<VirtualHost \*:80>$/<VirtualHost *:8080>/' '/etc/apache2/sites-enabled/000-default.conf' && \
|
||||||
rm -rf "/usr/share/doc/*" \
|
rm -rf "/usr/share/doc/*" \
|
||||||
"/var/cache/*" \
|
"/var/cache/*" \
|
||||||
"/var/lib/apt/lists/*"
|
"/var/lib/apt/lists/*" \
|
||||||
|
"/usr/src/*" \
|
||||||
|
"/var/cache/*" \
|
||||||
|
"/var/log/"{apt/*,dpkg.log} \
|
||||||
|
"/var/www/html" && \
|
||||||
|
mkdir "/var/www/html" && \
|
||||||
|
chown "www-data":"www-data" "/var/www/html"
|
||||||
|
|
||||||
USER "www-data"
|
USER "www-data"
|
||||||
RUN curl -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar -zx --strip=1
|
RUN curl -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar -zx --strip=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user