mirror of
https://github.com/danog/php.git
synced 2025-01-22 13:02:04 +01:00
Merge pull request #15 from infosiftr/remove-volume
Remove the `VOLUME` definition from the apache variants, since it doesn't make sense in the general case
This commit is contained in:
commit
9f4faa5159
@ -46,7 +46,6 @@ RUN set -x \
|
|||||||
&& rm -r /usr/src/php
|
&& rm -r /usr/src/php
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
VOLUME /var/www/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["apache2", "-DFOREGROUND"]
|
CMD ["apache2", "-DFOREGROUND"]
|
||||||
|
@ -43,7 +43,6 @@ RUN set -x \
|
|||||||
&& rm -r /usr/src/php
|
&& rm -r /usr/src/php
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
VOLUME /var/www/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["apache2", "-DFOREGROUND"]
|
CMD ["apache2", "-DFOREGROUND"]
|
||||||
|
@ -43,7 +43,6 @@ RUN set -x \
|
|||||||
&& rm -r /usr/src/php
|
&& rm -r /usr/src/php
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
VOLUME /var/www/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["apache2", "-DFOREGROUND"]
|
CMD ["apache2", "-DFOREGROUND"]
|
||||||
|
@ -43,7 +43,6 @@ RUN set -x \
|
|||||||
&& rm -r /usr/src/php
|
&& rm -r /usr/src/php
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
VOLUME /var/www/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["apache2", "-DFOREGROUND"]
|
CMD ["apache2", "-DFOREGROUND"]
|
||||||
|
@ -45,7 +45,6 @@ for version in "${versions[@]}"; do
|
|||||||
|
|
||||||
cat >> "$version/apache/Dockerfile" <<-'EOD'
|
cat >> "$version/apache/Dockerfile" <<-'EOD'
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
VOLUME /var/www/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["apache2", "-DFOREGROUND"]
|
CMD ["apache2", "-DFOREGROUND"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user