2022-03-26 20:49:18 +01:00
|
|
|
FROM oraclelinux:8
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
|
2022-03-26 20:49:18 +01:00
|
|
|
RUN dnf install -y \
|
|
|
|
less \
|
|
|
|
redhat-lsb-core \
|
|
|
|
vim \
|
|
|
|
xterm
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN dnf config-manager --set-enabled ol8_codeready_builder
|
|
|
|
RUN dnf install -y oracle-epel-release-el8
|
|
|
|
|
2022-03-26 20:49:18 +01:00
|
|
|
ARG KASMVNC_PACKAGE_DIR
|
|
|
|
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp
|
|
|
|
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
|
2022-03-26 20:49:18 +01:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN useradd -m foo
|
2022-03-26 20:49:18 +01:00
|
|
|
USER foo:kasmvnc-cert
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|