2022-06-22 22:38:12 +02:00
|
|
|
FROM opensuse/leap:15.3
|
2022-04-04 18:31:55 +02:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
|
2022-04-04 18:31:55 +02:00
|
|
|
# base tools
|
|
|
|
RUN zypper -n install -y \
|
|
|
|
less \
|
|
|
|
vim \
|
|
|
|
xterm
|
|
|
|
|
2022-11-24 13:22:28 +01:00
|
|
|
# Cache repo updates, so that package changes don't trigger it on every build.
|
|
|
|
RUN zypper refresh
|
2022-04-04 18:31:55 +02:00
|
|
|
ARG KASMVNC_PACKAGE_DIR
|
|
|
|
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp
|
2022-04-13 07:15:57 +02:00
|
|
|
RUN zypper install -y --allow-unsigned-rpm /tmp/*.rpm
|
2022-04-04 18:31:55 +02:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN mkdir -p $STARTUPDIR
|
|
|
|
COPY startup/vnc_startup_barebones.sh $STARTUPDIR
|
2022-04-04 18:31:55 +02:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN useradd -m foo
|
2022-04-04 18:31:55 +02:00
|
|
|
USER foo:kasmvnc-cert
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|