mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-26 23:54:15 +01:00
10 lines
319 B
Bash
10 lines
319 B
Bash
#!/bin/bash
|
|
#--mount type=bind,src=`realpath "$(pwd)/../libsc64"`,target="/src/libsc64" \
|
|
build_in_docker() {
|
|
docker run -t \
|
|
--mount type=bind,src=`realpath $(pwd)`,target="/src" \
|
|
$1 /bin/bash -c "cd /src && make clean && make -f $2 all"
|
|
}
|
|
|
|
build_in_docker "anacierdem/libdragon:6.0.2" "Makefile"
|