Skip to content

Commit e74b75f

Browse files
committed
fix: 切换到 arm64 平台,GraalVM 改用 glibc 标准版本
1 parent 3b26872 commit e74b75f

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
context: .
3838
push: true
39-
platforms: linux/amd64
39+
platforms: linux/arm64
4040
tags: |
4141
${{ env.IMAGE_NAME }}:latest
4242
${{ env.IMAGE_NAME }}:${{ github.sha }}

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 多阶段构建:第一阶段用 GraalVM 编译 Native Image
2-
FROM ghcr.io/graalvm/native-image-community:25-muslib AS build
2+
# 使用标准 glibc 版本,muslib (musl) 变体对 arm64 支持有限
3+
FROM ghcr.io/graalvm/native-image-community:25 AS build
34

45
WORKDIR /app
56

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
backend:
33
image: ${BACKEND_IMAGE_NAME:-ghcr.io/involutionhell/involutionhell-backend:latest}
4-
platform: linux/amd64
4+
platform: linux/arm64
55
pull_policy: always
66
container_name: involution-hell-backend
77
restart: always

0 commit comments

Comments
 (0)