TestDocker3 / build.sh
pgleeson's picture
Test scripts
79304a7
raw
history blame contribute delete
244 Bytes
# Set the platform flag if we're on ARM
arch=$(uname -m)
if [[ "$arch" == "arm64" || "$arch" == "aarch64" ]]; then
platform_flag="--platform linux/amd64"
else
platform_flag=""
fi
docker build $platform_flag -t testdox -f Dockerfile .