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 { \
94
94
} > /usr/local/etc/php/conf.d/docker-php-drupal-recommended.ini
95
95
96
96
{{ ) end -}}
97
- {{ if has("composer" ) then ( -}}
98
97
COPY --from=composer:{{ .composer.version }} /usr/bin/composer /usr/local/bin/
99
98
100
- {{ ) else "" end -}}
101
99
# {{ .date | strftime("%Y-%m-%d") }}: {{ .notes }}
102
100
ENV DRUPAL_VERSION {{ .version }}
103
- {{ if has("composer" ) then ( -}}
104
101
105
102
# https://github.com/docker-library/drupal/pull/259
106
103
# https://github.com/moby/buildkit/issues/4503
@@ -122,16 +119,5 @@ RUN set -eux; \
122
119
rm -rf "$COMPOSER_HOME"
123
120
124
121
ENV 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 -}}
136
122
137
123
# vim:set ft=dockerfile:
You can’t perform that action at this time.
0 commit comments