scons_gd/scons/testing/docker/fedora32/test/build_image.sh
2022-10-15 16:06:26 +02:00

17 lines
370 B
Bash
Executable File

#!/bin/bash
# store starting working directory
OLD_WD=$PWD
# determine working directory of shell script
WD=$(dirname "$(readlink -f "$0")")
cd $WD
# call docker build passing any other build options (command line options may override!)
docker build --network=host --file Dockerfile \
-t scons-test-fedora32:latest -t scons-test-fedora32:0.0.1 "$@" .
cd $OLD_WD