test-deb: add temporary volume of .

This commit is contained in:
Dmitry Maksyoma 2021-07-18 01:03:56 +12:00
parent 34a389f714
commit aeec23bd68

View File

@ -8,7 +8,7 @@ cd "$(dirname "$0")"
docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os_codename}" \ docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os_codename}" \
-t kasmvnctester_${os}:$os_codename \ -t kasmvnctester_${os}:$os_codename \
-f dockerfile.${os}_${os_codename}.deb.test . -f dockerfile.${os}_${os_codename}.deb.test .
docker run -it -p 443:8443 --rm \ docker run -it -v $(realpath ${PWD}/..):/src -p 8443:8443 --rm \
-e KASMVNC_VERBOSE_LOGGING=$KASMVNC_VERBOSE_LOGGING \ -e KASMVNC_VERBOSE_LOGGING=$KASMVNC_VERBOSE_LOGGING \
-e "VNC_USER=foo" -e "VNC_PW=foobar" \ -e "VNC_USER=foo" -e "VNC_PW=foobar" \
kasmvnctester_${os}:$os_codename kasmvnctester_${os}:$os_codename