KasmVNC/builder/dockerfile.ubuntu_focal.barebones.deb.test

21 lines
491 B
Plaintext
Raw Normal View History

FROM ubuntu:focal
2022-08-19 19:54:11 +02:00
ENV STARTUPDIR=/dockerstartup
COPY ./builder/scripts/ /tmp/scripts/
COPY ./debian/changelog /tmp
ARG KASMVNC_PACKAGE_DIR
COPY $KASMVNC_PACKAGE_DIR/kasmvncserver_*.deb /tmp/
RUN /tmp/scripts/install_kasmvncserver_package
RUN apt-get update && apt-get -y install xterm lsb-release
2022-08-19 19:54:11 +02:00
RUN mkdir -p $STARTUPDIR
COPY builder/startup/vnc_startup_barebones.sh $STARTUPDIR
2022-08-19 19:54:11 +02:00
RUN useradd -m foo && addgroup foo ssl-cert
USER foo
2022-08-19 19:54:11 +02:00
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"