mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-02-28 17:54:24 +01:00
17 lines
372 B
Bash
Executable File
17 lines
372 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-build-fedora32:latest -t scons-build-fedora32:0.0.1 "$@" .
|
|
|
|
cd $OLD_WD
|
|
|