Skip to content

Commit

Permalink
fix(php,7.2,7.3,7.4): pin composer to version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
damienwebdev committed Dec 15, 2020
1 parent 6bcb4c0 commit 81b1a61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion php/7.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di
sockets

RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/local/bin --filename=composer
php -- --install-dir=/usr/local/bin --filename=composer && \
composer self-update --1

COPY conf/php.ini /usr/local/etc/php/

Expand Down
3 changes: 2 additions & 1 deletion php/7.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di
sockets

RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/local/bin --filename=composer
php -- --install-dir=/usr/local/bin --filename=composer && \
composer self-update --1

COPY conf/php.ini /usr/local/etc/php/

Expand Down
3 changes: 2 additions & 1 deletion php/7.4/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/i
sockets

RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/local/bin --filename=composer
php -- --install-dir=/usr/local/bin --filename=composer && \
composer self-update --1

COPY conf/php.ini /usr/local/etc/php/

Expand Down

0 comments on commit 81b1a61

Please sign in to comment.