KasmVNC/builder/dockerfile.centos_core.barebones.rpm.test

21 lines
440 B
Plaintext
Raw Normal View History

FROM centos:centos7
2022-08-19 19:54:11 +02:00
ENV STARTUPDIR=/dockerstartup
RUN yum install -y xterm
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
ARG KASMVNC_PACKAGE_DIR
2022-08-19 19:54:11 +02:00
COPY $KASMVNC_PACKAGE_DIR/*.rpm /tmp/
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
2022-08-19 19:54:11 +02:00
RUN useradd -m foo
2021-03-25 13:10:43 +01:00
USER foo:kasmvnc-cert
2022-08-19 19:54:11 +02:00
ENTRYPOINT "/$STARTUPDIR/vnc_startup_barebones.sh"