aurora
aurora copied to clipboard
能否支持armv7 的docker镜像
如题
可以
s390x的呢?
Docker image golang:1.21 and FROM alpine:latest are all multi arch supported include s390x and armv7, and I also tried to build the s390x binary
root:~/aurora(main)$ git diff
diff --git a/build.sh b/build.sh
old mode 100644
new mode 100755
index 0a4dd3e..e96fcd8
--- a/build.sh
+++ b/build.sh
@@ -8,14 +8,7 @@ export CGO_ENABLED=0
PKG=aurora
targets=(
- "windows/amd64"
- "linux/amd64"
- "darwin/amd64"
- "windows/386"
- "linux/386"
- "darwin/386"
- "linux/arm"
- "linux/arm64"
+ "linux/s390x"
)
upxPath=$(command -v upx)
root:~/aurora(main)$ file bin/linux_s390x/aurora
bin/linux_s390x/aurora: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=sQOTdHRNsDCSnENn4ALf/AYZYeRo-C1bveUc0ooed/Gi97VzAB8As9EEqIJs5Z/E9ilxfsAv4b_6rKHZ-_D, stripped```