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:
yosifkit 2014-10-07 17:24:53 -06:00
commit 9f4faa5159
5 changed files with 0 additions and 5 deletions

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]