#!/bin/bash -xe

HOSTDIR_RESULTS="$(pwd)/build-results-aarch64"
mkdir -p "$HOSTDIR_RESULTS"
chmod uga=rwx "$HOSTDIR_RESULTS"
podman build --arch amd64 --no-cache --pull . -t nemobuild_aarch64
podman run -it --env BUILDARCH=aarch64 -v $HOSTDIR_RESULTS:/build-results nemobuild_aarch64 /bin/bash #./deploy2.sh
