mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-30 03:53:09 +01:00
24 lines
486 B
Plaintext
24 lines
486 B
Plaintext
FROM oraclelinux:8
|
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
RUN dnf install -y \
|
|
less \
|
|
redhat-lsb-core \
|
|
vim \
|
|
xterm
|
|
RUN dnf config-manager --set-enabled ol8_codeready_builder
|
|
RUN dnf install -y oracle-epel-release-el8
|
|
|
|
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"
|