1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 20:54:07 +01:00
trexio/docker/hdf5-on-docker/build_images.sh

17 lines
448 B
Bash
Executable File

#!/bin/bash
set -x
set -e
# currently cannot build ARM64 images on the AMD64 platform due to the error:
# standard_init_linux.go:219: exec user process caused: exec format error
#for tag in 2010_x86_64 2014_x86_64 2_24_x86_64 2014_aarch64 2_24_aarch64
# build only x86_64 images
for tag in 2010_x86_64 2014_x86_64 2_24_x86_64
do
echo "Building image on ${tag} platform"
docker build -t hdf5_1_12_on_${tag} . -f Dockerfile_${tag}
done