mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +01:00
Deb: add barebones testing image for Debian 10
This commit is contained in:
parent
7a6067e081
commit
e5b8d4df11
12
builder/dockerfile.debian10.barebones.deb.test
Normal file
12
builder/dockerfile.debian10.barebones.deb.test
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM debian:buster-slim
|
||||||
|
|
||||||
|
ARG KASMVNC_PACKAGE_DIR
|
||||||
|
COPY $KASMVNC_PACKAGE_DIR/kasmvncserver_*.deb /tmp
|
||||||
|
RUN apt-get update && dpkg -i /tmp/*.deb; apt-get -yf install
|
||||||
|
RUN apt-get update && apt-get -y install x11-xserver-utils xterm twm
|
||||||
|
|
||||||
|
RUN useradd -m docker && addgroup docker ssl-cert
|
||||||
|
|
||||||
|
USER docker
|
||||||
|
|
||||||
|
ENTRYPOINT bash -c "vncserver :1 -interface 0.0.0.0 && vncserver -kill :1 && vncserver :1 -depth 24 -geometry 1280x1050 -websocketPort 8443 -cert /etc/ssl/certs/ssl-cert-snakeoil.pem -key /etc/ssl/private/ssl-cert-snakeoil.key -sslOnly -FrameRate=24 -interface 0.0.0.0 -httpd /usr/share/kasmvnc/www && tail -f $HOME/.vnc/*.log "
|
15
builder/test-deb-barebones
Executable file
15
builder/test-deb-barebones
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
os="debian"
|
||||||
|
os_ver="10"
|
||||||
|
os_ver_dockerfile="10"
|
||||||
|
|
||||||
|
docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os}_${os_ver}" \
|
||||||
|
-t kasmvnctester_barebones_${os}:$os_ver \
|
||||||
|
-f dockerfile.${os}${os_ver_dockerfile}.barebones.deb.test .
|
||||||
|
echo
|
||||||
|
echo "You will be asked to set password. User name is docker."
|
||||||
|
docker run -it -p 443:8443 --rm kasmvnctester_barebones_${os}:$os_ver
|
Loading…
Reference in New Issue
Block a user