Skip to content

Commit 35dd7f5

Browse files
committed
feat: switch to arm64 for the default project architecture
1 parent b9fb8dc commit 35dd7f5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/Command/Project/InitializeProjectCommand.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,15 @@ private function determineProjectType(InputInterface $input, OutputInterface $ou
253253
private function getBaseEnvironmentsConfiguration(string $projectType): Collection
254254
{
255255
$environments = [
256-
'production' => [],
257-
'staging' => ['cdn' => ['caching' => 'assets'], 'cron' => false, 'warmup' => false],
256+
'production' => [
257+
'architecture' => 'arm64',
258+
],
259+
'staging' => [
260+
'architecture' => 'arm64',
261+
'cdn' => ['caching' => 'assets'],
262+
'cron' => false,
263+
'warmup' => false,
264+
],
258265
];
259266

260267
if ('bedrock' === $projectType) {

stubs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 ymirapp/php-runtime:php-74
1+
FROM --platform=linux/arm64 ymirapp/arm-php-runtime:php-74
22

33
ENTRYPOINT []
44

0 commit comments

Comments
 (0)