Skip to content

Commit 4a5ce8d

Browse files
committed
Keep templates for 7, minor 8&9 fixes
1 parent 999ac25 commit 4a5ce8d

File tree

17 files changed

+150
-44
lines changed

17 files changed

+150
-44
lines changed

7/apache-buster/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ RUN { \
5656
echo 'opcache.fast_shutdown=1'; \
5757
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
5858

59-
WORKDIR /var/www/html
60-
6159
# https://www.drupal.org/node/3060/release
6260
ENV DRUPAL_VERSION 7.72
6361
ENV DRUPAL_MD5 ed967195ce0e78bf2ab7245aaf0649d6

7/fpm-alpine3.12/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ RUN { \
4646
echo 'opcache.fast_shutdown=1'; \
4747
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
4848

49-
WORKDIR /var/www/html
50-
5149
# https://www.drupal.org/node/3060/release
5250
ENV DRUPAL_VERSION 7.72
5351
ENV DRUPAL_MD5 ed967195ce0e78bf2ab7245aaf0649d6

7/fpm-buster/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ RUN { \
5656
echo 'opcache.fast_shutdown=1'; \
5757
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
5858

59-
WORKDIR /var/www/html
60-
6159
# https://www.drupal.org/node/3060/release
6260
ENV DRUPAL_VERSION 7.72
6361
ENV DRUPAL_MD5 ed967195ce0e78bf2ab7245aaf0649d6

8.8/apache-buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ RUN set -eux; \
6868
rmdir /var/www/html; \
6969
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
7070
sed -i 's!web/!html/!g' composer.json; \
71-
composer install; \
71+
composer install --no-interaction; \
7272
cd html; \
7373
chown -R www-data:www-data sites modules themes; \
7474
# delete composer cache
7575
rm -rf "$COMPOSER_HOME"
7676

77-
WORKDIR /var/www/html
7877
# vim:set ft=dockerfile:

8.8/fpm-alpine3.12/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,10 @@ RUN set -eux; \
5858
rmdir /var/www/html; \
5959
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
6060
sed -i 's!web/!html/!g' composer.json; \
61-
composer install; \
61+
composer install --no-interaction; \
6262
cd html; \
6363
chown -R www-data:www-data sites modules themes; \
6464
# delete composer cache
6565
rm -rf "$COMPOSER_HOME"
6666

67-
WORKDIR /var/www/html
6867
# vim:set ft=dockerfile:

8.8/fpm-buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ RUN set -eux; \
6868
rmdir /var/www/html; \
6969
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
7070
sed -i 's!web/!html/!g' composer.json; \
71-
composer install; \
71+
composer install --no-interaction; \
7272
cd html; \
7373
chown -R www-data:www-data sites modules themes; \
7474
# delete composer cache
7575
rm -rf "$COMPOSER_HOME"
7676

77-
WORKDIR /var/www/html
7877
# vim:set ft=dockerfile:

8.9/apache-buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ RUN set -eux; \
6868
rmdir /var/www/html; \
6969
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
7070
sed -i 's!web/!html/!g' composer.json; \
71-
composer install; \
71+
composer install --no-interaction; \
7272
cd html; \
7373
chown -R www-data:www-data sites modules themes; \
7474
# delete composer cache
7575
rm -rf "$COMPOSER_HOME"
7676

77-
WORKDIR /var/www/html
7877
# vim:set ft=dockerfile:

8.9/fpm-alpine3.12/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,10 @@ RUN set -eux; \
5858
rmdir /var/www/html; \
5959
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
6060
sed -i 's!web/!html/!g' composer.json; \
61-
composer install; \
61+
composer install --no-interaction; \
6262
cd html; \
6363
chown -R www-data:www-data sites modules themes; \
6464
# delete composer cache
6565
rm -rf "$COMPOSER_HOME"
6666

67-
WORKDIR /var/www/html
6867
# vim:set ft=dockerfile:

8.9/fpm-buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ RUN set -eux; \
6868
rmdir /var/www/html; \
6969
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
7070
sed -i 's!web/!html/!g' composer.json; \
71-
composer install; \
71+
composer install --no-interaction; \
7272
cd html; \
7373
chown -R www-data:www-data sites modules themes; \
7474
# delete composer cache
7575
rm -rf "$COMPOSER_HOME"
7676

77-
WORKDIR /var/www/html
7877
# vim:set ft=dockerfile:

9.0/apache-buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ RUN set -eux; \
6868
rmdir /var/www/html; \
6969
composer create-project --no-install "drupal/recommended-project:$DRUPAL_VERSION" ./; \
7070
sed -i 's!web/!html/!g' composer.json; \
71-
composer install; \
71+
composer install --no-interaction; \
7272
cd html; \
7373
chown -R www-data:www-data sites modules themes; \
7474
# delete composer cache
7575
rm -rf "$COMPOSER_HOME"
7676

77-
WORKDIR /var/www/html
7877
# vim:set ft=dockerfile:

0 commit comments

Comments
 (0)