mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 11:04:12 +01:00
24 lines
505 B
Plaintext
24 lines
505 B
Plaintext
FROM opensuse/leap:15.3
|
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
# base tools
|
|
RUN zypper -n install -y \
|
|
less \
|
|
vim \
|
|
xterm
|
|
|
|
# Cache repo updates, so that package changes don't trigger it on every build.
|
|
RUN zypper refresh
|
|
ARG KASMVNC_PACKAGE_DIR
|
|
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp
|
|
RUN zypper install -y --allow-unsigned-rpm /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"
|