2021-02-22 09:25:02 +01:00
|
|
|
FROM ubuntu:focal
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
|
2023-01-25 06:30:56 +01:00
|
|
|
COPY ./builder/scripts/ /tmp/scripts/
|
|
|
|
COPY ./debian/changelog /tmp
|
|
|
|
|
2021-02-22 09:25:02 +01:00
|
|
|
ARG KASMVNC_PACKAGE_DIR
|
2021-09-07 14:11:21 +02:00
|
|
|
COPY $KASMVNC_PACKAGE_DIR/kasmvncserver_*.deb /tmp/
|
2023-01-25 06:30:56 +01:00
|
|
|
RUN /tmp/scripts/install_kasmvncserver_package
|
|
|
|
|
2021-02-22 09:25:02 +01:00
|
|
|
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
|
2021-02-22 09:25:02 +01:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN useradd -m foo && addgroup foo ssl-cert
|
2021-02-22 09:25:02 +01:00
|
|
|
USER foo
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|