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

11 lines
431 B
Bash
Raw Normal View History

2022-01-23 08:50:20 +01:00
#!/bin/sh
set -o
set -u
2022-01-23 23:55:07 +01:00
mvn -f ../pom.xml clean package
2023-06-29 07:33:40 +02: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/