Skip to content

Commit 8ca3577

Browse files
committed
fix(runtime): use bundled alpine opcache
1 parent 565e7da commit 8ca3577

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

runtimes/8.x/Dockerfile.base

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ RUN apk add --no-cache \
4444
php${VERSION}-intl \
4545
php${VERSION}-mbstring \
4646
php${VERSION}-mysqlnd \
47-
php${VERSION}-opcache \
4847
php${VERSION}-pcntl \
4948
php${VERSION}-pdo \
5049
php${VERSION}-pdo_mysql \

tests/Feature/LocalRuntimeBakeTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ public function test_the_base_image_reads_the_ca_from_the_certificate_context():
2727
);
2828
}
2929

30+
public function test_the_shared_runtime_does_not_request_a_split_opcache_package(): void
31+
{
32+
$dockerfile = file_get_contents(__DIR__.'/../../runtimes/8.x/Dockerfile.base');
33+
34+
$this->assertNotFalse($dockerfile);
35+
$this->assertStringNotContainsString('php${VERSION}-opcache', $dockerfile);
36+
}
37+
3038
public function test_local_up_forwards_php_and_compose_alpine_arguments_and_stops_on_bake_failure(): void
3139
{
3240
$sail = file_get_contents(__DIR__.'/../../bin/sail');

0 commit comments

Comments
 (0)