From fe830d2f587c583798e82523cff5596df5e0193f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:47:14 +0000 Subject: [PATCH 1/2] Initial plan From 9d4307d3a62d64274c12238a7e9d2ae10d29164c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:52:21 +0000 Subject: [PATCH 2/2] Replace wget with curl in all Dockerfiles to fix busybox compatibility Co-authored-by: joehoyle <161683+joehoyle@users.noreply.github.com> --- Dockerfile.php8.0 | 5 +++-- Dockerfile.php8.1 | 5 +++-- Dockerfile.php8.2 | 5 +++-- Dockerfile.php8.3 | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Dockerfile.php8.0 b/Dockerfile.php8.0 index 544e741..e720d38 100644 --- a/Dockerfile.php8.0 +++ b/Dockerfile.php8.0 @@ -4,6 +4,7 @@ ARG WP_VERSION RUN apk add -u --no-cache \ composer \ + curl \ git \ imagemagick \ mysql \ @@ -26,12 +27,12 @@ RUN apk add --no-cache php8-pear php8-dev gcc musl-dev make \ # Create php symlink to php8 RUN ln -sf /usr/bin/php8 /usr/bin/php -RUN wget -nv -O /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ +RUN curl -fsSL -o /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ && mkdir /wordpress \ && tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C /wordpress \ && rm /tmp/wordpress.tar.gz -RUN wget -nv -O /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ +RUN curl -fsSL -o /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ && mkdir /wp-phpunit \ && tar --strip-components=1 -zxmf /tmp/wp-phpunit.tar.gz -C /wp-phpunit \ && rm /tmp/wp-phpunit.tar.gz diff --git a/Dockerfile.php8.1 b/Dockerfile.php8.1 index 1472291..f2673dc 100644 --- a/Dockerfile.php8.1 +++ b/Dockerfile.php8.1 @@ -4,6 +4,7 @@ ARG WP_VERSION RUN apk add -u --no-cache \ composer \ + curl \ git \ imagemagick \ mysql \ @@ -26,12 +27,12 @@ RUN apk add --no-cache php81-pear php81-dev gcc musl-dev make \ # Create php symlink to php81 RUN ln -sf /usr/bin/php81 /usr/bin/php -RUN wget -nv -O /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ +RUN curl -fsSL -o /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ && mkdir /wordpress \ && tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C /wordpress \ && rm /tmp/wordpress.tar.gz -RUN wget -nv -O /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ +RUN curl -fsSL -o /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ && mkdir /wp-phpunit \ && tar --strip-components=1 -zxmf /tmp/wp-phpunit.tar.gz -C /wp-phpunit \ && rm /tmp/wp-phpunit.tar.gz diff --git a/Dockerfile.php8.2 b/Dockerfile.php8.2 index 3d23a9d..481ac7e 100644 --- a/Dockerfile.php8.2 +++ b/Dockerfile.php8.2 @@ -4,6 +4,7 @@ ARG WP_VERSION RUN apk add -u --no-cache \ composer \ + curl \ git \ imagemagick \ mysql \ @@ -26,12 +27,12 @@ RUN apk add --no-cache php82-pear php82-dev gcc musl-dev make \ # Create php symlink to php82 RUN ln -sf /usr/bin/php82 /usr/bin/php -RUN wget -nv -O /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ +RUN curl -fsSL -o /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ && mkdir /wordpress \ && tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C /wordpress \ && rm /tmp/wordpress.tar.gz -RUN wget -nv -O /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ +RUN curl -fsSL -o /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ && mkdir /wp-phpunit \ && tar --strip-components=1 -zxmf /tmp/wp-phpunit.tar.gz -C /wp-phpunit \ && rm /tmp/wp-phpunit.tar.gz diff --git a/Dockerfile.php8.3 b/Dockerfile.php8.3 index 6ac6a1a..62f27f4 100644 --- a/Dockerfile.php8.3 +++ b/Dockerfile.php8.3 @@ -4,6 +4,7 @@ ARG WP_VERSION RUN apk add -u --no-cache \ composer \ + curl \ git \ imagemagick \ mysql \ @@ -26,12 +27,12 @@ RUN apk add --no-cache php83-pear php83-dev gcc musl-dev make \ # Create php symlink to php83 RUN ln -sf /usr/bin/php83 /usr/bin/php -RUN wget -nv -O /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ +RUN curl -fsSL -o /tmp/wordpress.tar.gz https://wordpress.org/wordpress-${WP_VERSION}.tar.gz \ && mkdir /wordpress \ && tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C /wordpress \ && rm /tmp/wordpress.tar.gz -RUN wget -nv -O /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ +RUN curl -fsSL -o /tmp/wp-phpunit.tar.gz https://github.com/wp-phpunit/wp-phpunit/archive/${WP_VERSION}.0.tar.gz \ && mkdir /wp-phpunit \ && tar --strip-components=1 -zxmf /tmp/wp-phpunit.tar.gz -C /wp-phpunit \ && rm /tmp/wp-phpunit.tar.gz