diff --git a/builder/dockerfile.ubuntu1804.deb.test b/builder/dockerfile.ubuntu1804.deb.test index 4172490..c436631 100644 --- a/builder/dockerfile.ubuntu1804.deb.test +++ b/builder/dockerfile.ubuntu1804.deb.test @@ -40,7 +40,8 @@ COPY startup/ $STARTUPDIR ### START CUSTOM STUFF #### -COPY build/*.deb /tmp +ARG KASMVNC_PACKAGE_DIR +COPY $KASMVNC_PACKAGE_DIR/*.deb /tmp RUN dpkg -i /tmp/*.deb; apt-get -yf install ### END CUSTOM STUFF ### diff --git a/builder/dockerfile.ubuntu2004.deb.test b/builder/dockerfile.ubuntu2004.deb.test index 2a60b88..c5e5632 100644 --- a/builder/dockerfile.ubuntu2004.deb.test +++ b/builder/dockerfile.ubuntu2004.deb.test @@ -40,7 +40,8 @@ COPY startup/ $STARTUPDIR ### START CUSTOM STUFF #### -COPY build/*.deb /tmp +ARG KASMVNC_PACKAGE_DIR +COPY $KASMVNC_PACKAGE_DIR/*.deb /tmp RUN dpkg -i /tmp/*.deb; apt-get -yf install ### END CUSTOM STUFF ### diff --git a/builder/test-deb b/builder/test-deb index 582fe69..11d1eac 100755 --- a/builder/test-deb +++ b/builder/test-deb @@ -5,6 +5,7 @@ set -e cd "$(dirname "$0")" . ./os_ver_cli.sh -docker build -t kasmvnctester-deb:$os_ver \ +docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os}_${os_ver}" \ + -t kasmvnctester-deb:$os_ver \ -f dockerfile.${os}${os_ver_dockerfile}.deb.test . #docker run -it -p 443:8443 --rm -e "VNC_USER=username" -e "VNC_PW=password123" kasmvnctester-deb:18.04