mirror of
https://github.com/mindthemath/fenics.git
synced 2025-05-15 04:57:36 -06:00
multi-platform build
This commit is contained in:
parent
d10f272c91
commit
9c4cbbbc83
13
Makefile
13
Makefile
@ -8,3 +8,16 @@ latest:
|
|||||||
|
|
||||||
2019.1.0.post0:
|
2019.1.0.post0:
|
||||||
docker build -t fenics -t fenics-2019.1.0.post0 -f Dockerfile-2019.1.0.post0 .
|
docker build -t fenics -t fenics-2019.1.0.post0 -f Dockerfile-2019.1.0.post0 .
|
||||||
|
|
||||||
|
SHELL=bash
|
||||||
|
buster:
|
||||||
|
for TAG in $(shell echo 3.6.{9..13}-buster 3.{7..8}.{4..10}-buster {3.6.{14..15},3.{7..8}.{11..12},3.9.{6..9},3.10.{0..1}}-buster | sort); do \
|
||||||
|
echo BUILDING $$TAG && \
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64 \
|
||||||
|
-t mindthemath/fenics:2019.1.0-$$TAG \
|
||||||
|
--build-arg PYTHON_TAG=$$TAG \
|
||||||
|
-f Dockerfile-2019.1.0 . && \
|
||||||
|
docker push mindthemath/fenics:2019.1.0-$$TAG && \
|
||||||
|
docker rmi mindthemath/fenics:2019.1.0-$$TAG || exit; \
|
||||||
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user