Skip to content

Commit 7cad4e9

Browse files
committed
Set path in our customizations block
1 parent 6ca8cc2 commit 7cad4e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ENV php_conf /usr/local/etc/php-fpm.conf
66
ENV fpm_conf /usr/local/etc/php-fpm.d/www.conf
77
ENV php_vars /usr/local/etc/php/conf.d/docker-vars.ini
88
ENV composer_hash 669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410
9-
ENV PATH "~/.composer/vendor/bin:$PATH"
109
ENV NGINX_VERSION 1.11.10
1110

1211
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
@@ -226,7 +225,8 @@ RUN echo "cgi.fix_pathinfo=0" > ${php_vars} &&\
226225
RUN apk add --no-cache mysql-client \
227226
su-exec \
228227
rsync
229-
RUN echo "sendmail_path=`which true`" >> ${php_vars} && \
228+
RUN export PATH="~/.composer/vendor/bin:$PATH" && \
229+
echo "sendmail_path=`which true`" >> ${php_vars} && \
230230
composer global require -n "hirak/prestissimo:^0.3" && \
231231
composer global require -n "consolidation/cgr" && \
232232
cgr "pantheon-systems/terminus:~1"

0 commit comments

Comments
 (0)