2021-02-05 11:49:47 +01:00
|
|
|
FROM centos:centos7
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENV STARTUPDIR=/dockerstartup
|
|
|
|
|
2021-02-18 10:00:34 +01:00
|
|
|
RUN yum install -y xterm
|
2021-02-11 08:45:01 +01:00
|
|
|
RUN yum install -y vim less
|
2021-03-25 13:10:43 +01:00
|
|
|
RUN yum install -y redhat-lsb-core
|
2022-08-19 19:54:11 +02:00
|
|
|
RUN yum install -y epel-release
|
2021-02-05 11:49:47 +01:00
|
|
|
|
|
|
|
ARG KASMVNC_PACKAGE_DIR
|
2022-08-19 19:54:11 +02:00
|
|
|
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp/
|
2021-02-05 11:49:47 +01:00
|
|
|
RUN yum 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-05 11:49:47 +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-05 11:49:47 +01:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"
|