File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,10 @@ RUN { \
9494 } > /usr/local/etc/php/conf.d/docker-php-drupal-recommended.ini
9595
9696{{ ) end -}}
97- {{ if has("composer" ) then ( -}}
9897COPY --from=composer:{{ .composer.version }} /usr/bin/composer /usr/local/bin/
9998
100- {{ ) else "" end -}}
10199# {{ .date | strftime("%Y-%m-%d") }}: {{ .notes }}
102100ENV DRUPAL_VERSION {{ .version }}
103- {{ if has("composer" ) then ( -}}
104101
105102# https://github.com/docker-library/drupal/pull/259
106103# https://github.com/moby/buildkit/issues/4503
@@ -122,16 +119,5 @@ RUN set -eux; \
122119 rm -rf "$COMPOSER_HOME"
123120
124121ENV PATH=${PATH}:/opt/drupal/vendor/bin
125- {{ ) else ( -}}
126- ENV DRUPAL_URL {{ .url }}
127- ENV DRUPAL_MD5 {{ .md5 }}
128-
129- RUN set -eux; \
130- curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \
131- echo "${DRUPAL_MD5} *drupal.tar.gz" | md5sum -c -; \
132- tar -xz --strip-components=1 -f drupal.tar.gz; \
133- rm drupal.tar.gz; \
134- chown -R www-data:www-data sites modules themes
135- {{ ) end -}}
136122
137123# vim:set ft=dockerfile:
You can’t perform that action at this time.
0 commit comments