2021-02-22 09:25:02 +01:00
|
|
|
FROM fedora:33
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
|
2021-02-22 09:25:02 +01:00
|
|
|
RUN dnf install -y xterm
|
|
|
|
RUN dnf install -y vim less
|
2021-03-25 13:10:43 +01:00
|
|
|
RUN yum install -y redhat-lsb-core
|
2021-02-22 09:25:02 +01:00
|
|
|
|
|
|
|
ARG KASMVNC_PACKAGE_DIR
|
2022-08-19 19:54:11 +02:00
|
|
|
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp/
|
2021-02-22 09:25:02 +01:00
|
|
|
RUN dnf localinstall -y /tmp/*.rpm
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN mkdir -p $STARTUPDIR
|
|
|
|
COPY 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
|
2021-03-25 13:10:43 +01:00
|
|
|
USER foo:kasmvnc-cert
|
2021-02-22 09:25:02 +01:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|