This commit is contained in:
parent
7566a73183
commit
b11ff93333
@ -1,7 +1,6 @@
|
|||||||
FROM "php:7.4-apache"
|
FROM "php:8.3-apache"
|
||||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
|
|
||||||
RUN export DEBIAN_FRONTEND="noninteractive" && \
|
RUN export DEBIAN_FRONTEND="noninteractive" && \
|
||||||
sed -i'' 's/ServerSignature On/ServerSignature Off/; s/ServerTokens OS/ServerTokens Prod/' "/etc/apache2/conf-enabled/security.conf" && \
|
sed -i'' 's/ServerSignature On/ServerSignature Off/; s/ServerTokens OS/ServerTokens Prod/' "/etc/apache2/conf-enabled/security.conf" && \
|
||||||
sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
|
sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user