Skip to content

Commit 7ea2b93

Browse files
committed
Correct command name for composer
This is a follow-up to a4b11d1 where we dropped support for Composer v1 and renamed Composer v2 to just 'composer'
1 parent 729b10c commit 7ea2b93

File tree

7 files changed

+42
-42
lines changed

7 files changed

+42
-42
lines changed

magento-phpstan/Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:7.4-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.3-p2"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.3-p2"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --no-plugins allow-plugins true
8-
RUN composer2 config --unset repo.0
9-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --no-plugins allow-plugins true
8+
RUN composer config --unset repo.0
9+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
FROM extdn/magento-integration-tests-action:7.4-latest
1414
COPY --from=builder /var/www/magento2ce/ /m2/

magento-phpstan/Dockerfile:7.3

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:7.3-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.3.7-p3"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.3.7-p3"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --unset repo.0
8-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9-
RUN composer2 config --no-plugins allow-plugins true
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --unset repo.0
8+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9+
RUN composer config --no-plugins allow-plugins true
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
FROM extdn/magento-integration-tests-action:7.3-latest
1414
COPY --from=builder /var/www/magento2ce/ /m2/

magento-phpstan/Dockerfile:7.4

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:7.4-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.3-p2"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.3-p2"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --unset repo.0
8-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9-
RUN composer2 config --no-plugins allow-plugins true
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --unset repo.0
8+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9+
RUN composer config --no-plugins allow-plugins true
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
FROM extdn/magento-integration-tests-action:7.4-latest
1414
COPY --from=builder /var/www/magento2ce/ /m2/

magento-phpstan/Dockerfile:8.1

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:8.1-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.4"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.4"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --unset repo.0
8-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9-
RUN composer2 config --no-plugins allow-plugins true
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --unset repo.0
8+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9+
RUN composer config --no-plugins allow-plugins true
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
FROM extdn/magento-integration-tests-action:8.1-latest
1414
COPY --from=builder /var/www/magento2ce/ /m2/

magento-phpstan/Dockerfile:8.2

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:8.2-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.6-p3"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.6-p3"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --unset repo.0
8-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9-
RUN composer2 config --no-plugins allow-plugins true
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --unset repo.0
8+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9+
RUN composer config --no-plugins allow-plugins true
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
FROM extdn/magento-integration-tests-action:8.2-latest
1414
COPY --from=builder /var/www/magento2ce/ /m2/

magento-phpstan/Dockerfile:8.3

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:8.3-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.7"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.7"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --unset repo.0
8-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9-
RUN composer2 config --no-plugins allow-plugins true
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --unset repo.0
8+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9+
RUN composer config --no-plugins allow-plugins true
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
COPY entrypoint.sh /entrypoint.sh
1414

magento-phpstan/Dockerfile:8.4

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM extdn/magento-integration-tests-action:8.4-latest AS builder
22

33
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini
4-
RUN composer2 create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.8"
4+
RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.8"
55

66
WORKDIR "/var/www/magento2ce"
7-
RUN composer2 config --unset repo.0
8-
RUN composer2 config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9-
RUN composer2 config --no-plugins allow-plugins true
10-
RUN composer2 require hoa/regex --no-update
11-
RUN composer2 install --prefer-dist
7+
RUN composer config --unset repo.0
8+
RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/
9+
RUN composer config --no-plugins allow-plugins true
10+
RUN composer require hoa/regex --no-update
11+
RUN composer install --prefer-dist
1212

1313
COPY entrypoint.sh /entrypoint.sh
1414

0 commit comments

Comments
 (0)