Commit e98d1570 authored by Urs Fleisch's avatar Urs Fleisch

Support passing parameters to buildlibs.sh rundocker.

A build of all packages is possible with
kid3/buildlibs.sh rundocker $HOME/projects/kid3/src/build-all.sh
parent dc96d7e7
......@@ -178,6 +178,7 @@ if test "$1" = "makedocker"; then
if ! test -f build-all.sh; then
cat >build-all.sh <<"EOF"
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")"
set -e
(cd linux_build && \
COMPILER=gcc-self-contained \
......@@ -251,11 +252,12 @@ fi
# Run docker image created with "makedocker".
if test "$1" = "rundocker"; then
echo "### Run docker image"
shift
docker run --rm -it \
-v $HOME/projects/kid3:$HOME/projects/kid3 \
-v $HOME/.gradle:$HOME/.gradle \
-v $HOME/.gnupg:$HOME/.gnupg:ro \
-v $HOME/Development:$HOME/Development:ro ufleisch/kid3dev
-v $HOME/Development:$HOME/Development:ro ufleisch/kid3dev "$@"
exit 0
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment