Docker supports arm64 images #1279 (#1367)

* feat: docker support linux/arm64,linux/amd64 platform

* feat: docker support linux/arm64,linux/amd64 platform
pull/1312/merge
BigXin0109 1 year ago committed by GitHub
parent 94da6f6c28
commit 8474026758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,6 +39,10 @@ mvn clean package -Dskip.spotless.apply=true
# 进入到 docker 工程路径下
# 默认打包是打包的 tag 是 latest
docker build -t hippo4j/hippo4j-server ../docker
# 构建多平台版本
docker buildx build --platform linux/arm64 -t hippo4j/hippo4j-server ../docker
docker buildx build --platform linux/amd64 -t hippo4j/hippo4j-server ../docker
```
方式二:

@ -39,6 +39,10 @@ mvn clean package -Dskip.spotless.apply=true
# 进入到 docker 工程路径下
# 默认打包是打包的 tag 是 latest
docker build -t hippo4j/hippo4j-server ../docker
# 构建多平台版本
docker buildx build --platform linux/arm64 -t hippo4j/hippo4j-server ../docker
docker buildx build --platform linux/amd64 -t hippo4j/hippo4j-server ../docker
```
方式二:

Loading…
Cancel
Save