mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 11:04:12 +01:00
21 lines
491 B
Plaintext
21 lines
491 B
Plaintext
FROM ubuntu:focal
|
|
|
|
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
|
|
|
|
RUN mkdir -p $STARTUPDIR
|
|
COPY builder/startup/vnc_startup_barebones.sh $STARTUPDIR
|
|
|
|
RUN useradd -m foo && addgroup foo ssl-cert
|
|
USER foo
|
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|