mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 11:04:12 +01:00
20 lines
403 B
Plaintext
20 lines
403 B
Plaintext
FROM fedora:37
|
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
RUN dnf install -y xterm
|
|
RUN dnf install -y vim less
|
|
RUN yum install -y redhat-lsb-core
|
|
|
|
ARG KASMVNC_PACKAGE_DIR
|
|
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp/
|
|
RUN dnf localinstall -y /tmp/*.rpm
|
|
|
|
RUN mkdir -p $STARTUPDIR
|
|
COPY startup/vnc_startup_barebones.sh $STARTUPDIR
|
|
|
|
RUN useradd -m foo
|
|
USER foo:kasmvnc-cert
|
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|