Skip to content

Commit

Permalink
Release/8.2 - upgrade composer to 1.10.27 and 2.7.1 (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
niepi committed Feb 12, 2024
1 parent e9e4d37 commit 16990f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
8 changes: 3 additions & 5 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ RUN echo "zend_extension=`php -i | grep ^extension_dir | cut -f 3 -d ' '`/xdebug
RUN docker-php-ext-install soap

ENV COMPOSER_HOME=/composer
COPY --from=composer:1.10.26 /usr/bin/composer /usr/local/bin/composer1
COPY --from=composer:2.5.1 /usr/bin/composer /usr/local/bin/composer2

COPY composer /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer
RUN curl -L https://github.com/composer/composer/releases/download/1.10.27/composer.phar > /usr/local/bin/composer1 && chmod +x /usr/local/bin/composer1
RUN curl -L https://github.com/composer/composer/releases/download/2.7.1/composer.phar > /usr/local/bin/composer2 && chmod +x /usr/local/bin/composer2
ADD composer /usr/local/bin/composer


RUN apt-get update && apt-get install --no-install-recommends -y \
Expand Down
9 changes: 3 additions & 6 deletions 8.2/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,9 @@ RUN cp `php -i | grep ^extension_dir | cut -f 3 -d ' '`/*.so /tmp/
FROM base

ENV COMPOSER_HOME=/composer

COPY --from=composer:1.10.26 /usr/bin/composer /usr/local/bin/composer1
COPY --from=composer:2.5.1 /usr/bin/composer /usr/local/bin/composer2

COPY composer /usr/local/bin
RUN chmod +x /usr/local/bin/composer
RUN curl -L https://github.com/composer/composer/releases/download/1.10.27/composer.phar > /usr/local/bin/composer1 && chmod +x /usr/local/bin/composer1
RUN curl -L https://github.com/composer/composer/releases/download/2.7.1/composer.phar > /usr/local/bin/composer2 && chmod +x /usr/local/bin/composer2
ADD composer /usr/local/bin/composer

RUN apk upgrade libsasl libssl3 openssl zlib libxml2 libretls libcrypto1.1

Expand Down

0 comments on commit 16990f0

Please sign in to comment.