Skip to content

Commit 55a3eed

Browse files
committed
fix: Directly download composer phar
without copying from the Docker image
1 parent a4e05f7 commit 55a3eed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile.base

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ COPY rootfs/ /
2525

2626
ARG PLUGIN_UPLOADER_VERSION=0.3.16
2727
ARG PHP_SCOPER_VERSION=0.14.0
28+
ARG COMPOSER_VERSION=2.4.4
2829

2930
RUN \
3031
wget -q https://github.com/FriendsOfShopware/FroshPluginUploader/releases/download/${PLUGIN_UPLOADER_VERSION}/frosh-plugin-upload.phar -O /opt/bin/plugin-uploader && \
3132
wget -q https://github.com/humbug/php-scoper/releases/download/${PHP_SCOPER_VERSION}/php-scoper.phar -O /opt/bin/php-scoper && \
32-
chmod +x /opt/bin/plugin-uploader /opt/bin/php-scoper && \
33+
wget -q https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar -O /opt/bin/composer && \
34+
chmod +x /opt/bin/plugin-uploader /opt/bin/php-scoper /opt/bin/composer && \
3335
wget -q https://raw.githubusercontent.com/shopware/platform/v6.4.5.1/src/Core/TestBootstrapper.php -O /opt/share/shopware/tests/TestBootstrapperFallback.php
3436

35-
COPY --from=composer/composer:2.4.4-bin /composer /usr/bin/composer
36-
3737
ENV PATH="/opt/bin:/opt/shopware/bin:${PATH}"
3838
ENV COMPOSER_ALLOW_SUPERUSER=1

0 commit comments

Comments
 (0)