This updates the Dockerfile to use the appropriate machine architecture when building parmetis. This should fix issues creating the docker image on ARM platforms.
CI workflow for multi-platform docker image building
CI workflow docker-image now builds the docker image to support multiple platforms: amd64 (also known as x86-64) and arm64.
This, however, significantly lengthen the building time as it attempts to build the image on the non-host-architecture (which is amd64).
Mainly it was to support multiple architectures in an automatic way. However, this slow-down is a significant drawback for fast development and integration. Therefore, building image for arm64 is disabled for now.
Docker image for arm64 architecture will be pushed to ghcr.io/llnl/librom/librom_env:arm64 occasionally.
This updates the Dockerfile to use the appropriate machine architecture when building parmetis. This should fix issues creating the docker image on ARM platforms.
CI workflow for multi-platform docker image building
CI workflow
docker-image
now builds the docker image to support multiple platforms:amd64
(also known as x86-64) andarm64
. This, however, significantly lengthen the building time as it attempts to build the image on the non-host-architecture (which isamd64
). Mainly it was to support multiple architectures in an automatic way. However, this slow-down is a significant drawback for fast development and integration. Therefore, building image forarm64
is disabled for now.Docker image for
arm64
architecture will be pushed toghcr.io/llnl/librom/librom_env:arm64
occasionally.