1
1
ARG PHP_VERSION=php74-fpm
2
2
FROM michielgerritsen/magento2-base-image:${PHP_VERSION}
3
3
4
- ARG MAGEOS_VERSION=2.4.4
4
+ ARG MAGEOS_VERSION=1.0.0
5
5
ARG MAGEOS_TYPE=project-community-edition
6
6
ARG SAMPLE_DATA=false
7
7
@@ -11,13 +11,7 @@ ENV FLAT_TABLES=false
11
11
ENV COMPOSER_ALLOW_SUPERUSER=1
12
12
13
13
COPY scripts/retry retry
14
- COPY patches/ patches/
15
- COPY scripts/apply-2.4-patches.php scripts/apply-2.4-patches.php
16
- COPY scripts/downgrade-monolog.php scripts/downgrade-monolog.php
17
- COPY scripts/upgrade-to-composer-2.php scripts/upgrade-to-composer-2.php
18
14
COPY scripts/allow-composer-plugins.php scripts/allow-composer-plugins.php
19
- COPY scripts/remove-paypal-braintree.php scripts/remove-paypal-braintree.php
20
- COPY scripts/patch-AC2855.php scripts/patch-AC2855.php
21
15
COPY templates/memory-limit-php.ini /usr/local/etc/php/conf.d/memory-limit-php.ini
22
16
23
17
RUN set -e; \
@@ -26,7 +20,7 @@ RUN set -e; \
26
20
echo "[cad] Composer version:" && \
27
21
composer --version && \
28
22
echo "[cad] Downloading & unzipping Magento" && \
29
- curl -o mage-os.zip https://repo.mage-os.org/dist/magento/$MAGEOS_TYPE /magento-$MAGEOS_TYPE-$MAGEOS_VERSION.zip && \
23
+ curl -o mage-os.zip https://repo.mage-os.org/packages/mage-os /magento-$MAGEOS_TYPE-$MAGEOS_VERSION.zip && \
30
24
unzip -q mage-os.zip -d . && \
31
25
rm mage-os.zip; \
32
26
echo "[cad] Allowing composer plugins" && \
@@ -74,16 +68,15 @@ COPY templates/install-config-mysql.php dev/tests/integration/etc/
74
68
COPY templates/post-install-setup-command-config.php dev/tests/integration/etc/
75
69
COPY entrypoint.sh entrypoint.sh
76
70
77
- COPY scripts/enable-flat-catalog enable-flat-catalog
78
71
COPY scripts/change-base-url change-base-url
79
72
COPY scripts/install-composer-package install-composer-package
80
73
COPY scripts/disable-2fa disable-2fa
81
74
82
- COPY templates/phpunit-integration.xml dev/tests/integration/phpunit.xml
83
- COPY templates/phpunit-integration-248.xml dev/tests/integration/phpunit-248.xml
84
- COPY templates/phpunit-unit.xml dev/tests/unit/phpunit.xml
85
- COPY templates/phpunit-unit-248.xml dev/tests/unit/phpunit-248.xml
86
- COPY scripts/fix-phpunit.xml.php fix-phpunit.xml.php
75
+ # COPY templates/phpunit-integration.xml dev/tests/integration/phpunit.xml
76
+ # COPY templates/phpunit-integration-248.xml dev/tests/integration/phpunit-248.xml
77
+ # COPY templates/phpunit-unit.xml dev/tests/unit/phpunit.xml
78
+ # COPY templates/phpunit-unit-248.xml dev/tests/unit/phpunit-248.xml
79
+ # COPY scripts/fix-phpunit.xml.php fix-phpunit.xml.php
87
80
88
81
RUN chmod +x enable-flat-catalog && \
89
82
chmod +x change-base-url && \
0 commit comments