Skip to content

Commit

Permalink
Merge pull request #116 from AmpersandHQ/add-php-8-3-to-docker-image
Browse files Browse the repository at this point in the history
Add php 8.3 to docker image
  • Loading branch information
convenient authored Dec 15, 2023
2 parents e94978d + 577dc40 commit a7cc0c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion dev/Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN source /root/.bashrc && phpenv install 7.2.34 && phpenv global 7.2.34 && sed
RUN source /root/.bashrc && PHP_BUILD_INSTALL_EXTENSION="libsodium=1.0.7" phpenv install 7.4.29 && phpenv global 7.4.29 && sed -i 's/memory_limit = 128M/memory_limit = 1024M/' /root/.phpenv/versions/7.4.29/etc/php.ini && php --version
RUN source /root/.bashrc && PHP_BUILD_CONFIGURE_OPTS="--with-sodium" phpenv install 8.1.6 && phpenv global 8.1.6 && sed -i 's/memory_limit = 128M/memory_limit = 1024M/' /root/.phpenv/versions/8.1.6/etc/php.ini && php --version
RUN source /root/.bashrc && PHP_BUILD_CONFIGURE_OPTS="--with-sodium" phpenv install 8.2.2 && phpenv global 8.2.2 && sed -i 's/memory_limit = 128M/memory_limit = 1024M/' /root/.phpenv/versions/8.2.2/etc/php.ini && php --version
RUN source /root/.bashrc && PHP_BUILD_CONFIGURE_OPTS="--with-sodium" phpenv install 8.3.0 && phpenv global 8.3.0 && sed -i 's/memory_limit = 128M/memory_limit = 1024M/' /root/.phpenv/versions/8.3.0/etc/php.ini && php --version

RUN source /root/.bashrc && wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet && mv composer.phar /root/.phpenv/bin/composer2 && /root/.phpenv/bin/composer2 self-update --2 && /root/.phpenv/bin/composer2 self-update --2.2
RUN source /root/.bashrc && wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet && mv composer.phar /root/.phpenv/bin/composer1 && /root/.phpenv/bin/composer1 self-update --1
RUN source /root/.bashrc && wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet && mv composer.phar /root/.phpenv/bin/composer1 && /root/.phpenv/bin/composer1 self-update --1
10 changes: 5 additions & 5 deletions dev/Docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
m2451nodb:
depends_on:
- elasticsearch
image: ampco/ampersand-magento2-upgrade-patch-helper:latest
image: ampco/ampersand-magento2-upgrade-patch-helper:2023-11-07
platform: linux/amd64
container_name: uphelper-m2451nodb
stdin_open: true
Expand All @@ -44,7 +44,7 @@ services:
m24nodb:
depends_on:
- elasticsearch
image: ampco/ampersand-magento2-upgrade-patch-helper:latest
image: ampco/ampersand-magento2-upgrade-patch-helper:2023-11-07
platform: linux/amd64
container_name: uphelper-m24nodb
stdin_open: true
Expand All @@ -66,7 +66,7 @@ services:
depends_on:
- elasticsearch
- mysql57
image: ampco/ampersand-magento2-upgrade-patch-helper:latest
image: ampco/ampersand-magento2-upgrade-patch-helper:2023-11-07
platform: linux/amd64
container_name: uphelper-m24
stdin_open: true
Expand All @@ -87,7 +87,7 @@ services:
m23:
depends_on:
- mysql57
image: ampco/ampersand-magento2-upgrade-patch-helper:latest
image: ampco/ampersand-magento2-upgrade-patch-helper:2023-11-07
platform: linux/amd64
container_name: uphelper-m23
stdin_open: true
Expand All @@ -108,7 +108,7 @@ services:
m22:
depends_on:
- mysql57
image: ampco/ampersand-magento2-upgrade-patch-helper:latest
image: ampco/ampersand-magento2-upgrade-patch-helper:2023-11-07
platform: linux/amd64
container_name: uphelper-m22
stdin_open: true
Expand Down

0 comments on commit a7cc0c6

Please sign in to comment.