Compare commits
2 Commits
f7b138bf5f
...
af089cd6a7
Author | SHA1 | Date | |
---|---|---|---|
af089cd6a7 | |||
3b3db4396c |
@ -1,9 +1,14 @@
|
|||||||
from php:7.4.32-apache
|
from php:7.4.33-apache
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
|
libicu-dev\
|
||||||
|
&& docker-php-ext-configure intl \
|
||||||
|
&& docker-php-ext-install intl \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN printf "[safe]\n\tdirectory = /var/www\n" > /etc/gitconfig
|
||||||
|
|
||||||
RUN a2enmod remoteip rewrite \
|
RUN a2enmod remoteip rewrite \
|
||||||
&& echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf \
|
&& echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf \
|
||||||
&& a2enconf remoteip \
|
&& a2enconf remoteip \
|
||||||
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
apache:
|
apache:
|
||||||
build: .
|
build: .
|
||||||
image: my_apache:7.4.32
|
image: my_apache:7.4.33
|
||||||
container_name: apache
|
container_name: apache
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
apache-test:
|
apache-test:
|
||||||
build: ..
|
build: ..
|
||||||
image: my_apache:7.4.32
|
image: my_apache:7.4.33
|
||||||
container_name: apache-test
|
container_name: apache-test
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user