Skip to content

Commit

Permalink
Fix composer installation
Browse files Browse the repository at this point in the history
  • Loading branch information
hitalos committed Nov 9, 2018
1 parent 3e7eaa1 commit 0938dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-php.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

apk add freetds freetype icu libintl libldap libjpeg libmcrypt libpng libpq libwebp
apk add file re2c freetds freetype icu libintl libldap libjpeg libmcrypt libpng libpq libwebp

TMP="autoconf \
curl-dev \
Expand Down Expand Up @@ -54,7 +54,7 @@ docker-php-ext-install \
mkdir -p /etc/ssl/certs && update-ca-certificates

# Install composer
php -r "readfile('https://getcomposer.org/installer');" | php && \
cd /tmp && php -r "readfile('https://getcomposer.org/installer');" | php && \
mv composer.phar /usr/bin/composer && \
chmod +x /usr/bin/composer

Expand Down

0 comments on commit 0938dcd

Please sign in to comment.