diff --git a/test/end-to-end/Dockerfile b/test/end-to-end/Dockerfile index 5a9bcdce..a5ed780d 100644 --- a/test/end-to-end/Dockerfile +++ b/test/end-to-end/Dockerfile @@ -24,13 +24,13 @@ COPY --from=build_pie_phar /app/pie.phar /usr/local/bin/pie RUN pie install --auto-install-build-tools -v asgrim/example-pie-extension:2.0.5 RUN pie show -FROM quay.io/rockylinux/rockylinux:10 AS disabled_test_pie_installs_build_tools_on_rocky +FROM quay.io/rockylinux/rockylinux:10 AS test_pie_installs_build_tools_on_rocky RUN dnf install -y php8.4-cli epel-release unzip COPY --from=build_pie_phar /app/pie.phar /usr/local/bin/pie RUN pie install --auto-install-build-tools -vv asgrim/example-pie-extension:2.0.5 RUN pie show -FROM ubi9_base AS disabled_test_pie_installs_build_tools_on_ubi9 +FROM ubi9_base AS test_pie_installs_build_tools_on_ubi9 RUN microdnf module enable -y php:8.3 && microdnf install -y php-cli php-pecl-zip unzip COPY --from=build_pie_phar /app/pie.phar /usr/local/bin/pie RUN pie install --auto-install-build-tools -v asgrim/example-pie-extension:2.0.5 diff --git a/test/integration/File/ReplaceRunningExecutableNonWindowsTest.php b/test/integration/File/ReplaceRunningExecutableNonWindowsTest.php index 91eae102..8ce929c2 100644 --- a/test/integration/File/ReplaceRunningExecutableNonWindowsTest.php +++ b/test/integration/File/ReplaceRunningExecutableNonWindowsTest.php @@ -46,7 +46,8 @@ public function setUp(): void { $this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid('pie_test_replace_running_executable_', true); mkdir($this->path); - $this->executable = $this->path . DIRECTORY_SEPARATOR . 'pie'; + // new ubuntu rust coreutils doesn't like it not being called sleep + $this->executable = $this->path . DIRECTORY_SEPARATOR . 'sleep'; copy('/bin/sleep', $this->executable); chmod($this->executable, 0755);