Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wordpress bump #284

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/eco_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
context: ${{ env.WORKDIR }}
archs: ${{ matrix.archs }}
oci: true
extra-args: --ulimit nofile=16384:16384
- name: Check for registry credentials
if: >
github.ref == 'refs/heads/main' &&
Expand Down
6 changes: 3 additions & 3 deletions eco_build_images/wordpress_phpunit_test_runner.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-cli
FROM php:8.3-cli

# https://github.com/WordPress/phpunit-test-runner/blob/master/README.md#0-requirements

Expand All @@ -24,15 +24,15 @@ ENV NVM_DIR="/root/.nvm"

# Match nodejs version https://nodejs.org/en/download/releases to supported npm range
# https://github.com/WordPress/wordpress-develop/blob/trunk/package.json
RUN bash -c "set -o pipefail ; curl -o - https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash; . \"$NVM_DIR/nvm.sh\" && nvm install 16.20.2"
RUN bash -c "set -o pipefail ; curl -o - https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash; . \"$NVM_DIR/nvm.sh\" && nvm install 20.11.0"

COPY wordpress_phpunit_test_runner.env /phpunit-test-runner/.env
COPY wordpress_phpunit_test_runner.entrypoint /entrypoint.sh

WORKDIR /phpunit-test-runner

ENV COMPOSER_ALLOW_SUPERUSER=1
RUN bash -c 'source /root/.bashrc && source .env && php prepare.php'
RUN bash -c 'source /root/.bashrc && source .env && ulimit -a && php prepare.php'

ENTRYPOINT ["/entrypoint.sh"]

Expand Down
Loading