wisemapping-open-source/distribution/build-image.sh

11 lines
431 B
Bash
Raw Normal View History

2022-01-23 15:50:20 +08:00
#!/bin/sh
set -o
set -u
2022-01-24 06:55:07 +08:00
mvn -f ../pom.xml clean package
2023-06-29 13:33:40 +08:00
#docker build --platform linux/amd64 -t wisemapping/wisemapping:latest -f ./Dockerfile ../wise-webapp/target/
docker buildx create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder
docker buildx inspect --bootstrap
docker buildx build --platform=linux/amd64,linux/arm64 --push -t wisemapping/wisemapping:latest -f ./Dockerfile ../wise-webapp/target/