mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 11:04:12 +01:00
31 lines
786 B
Plaintext
31 lines
786 B
Plaintext
|
FROM ubuntu:focal
|
||
|
|
||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||
|
|
||
|
RUN apt-get update && apt-get install -y vim less
|
||
|
RUN apt-get update && apt-get install -y python3-pip
|
||
|
RUN apt-get update && apt-get install -y strace silversearcher-ag xfonts-base
|
||
|
RUN apt-get update && apt-get install -y cinnamon
|
||
|
RUN apt-get update && apt-get install -y mate
|
||
|
|
||
|
RUN useradd -m docker
|
||
|
|
||
|
ARG KASMVNC_PACKAGE_DIR
|
||
|
COPY $KASMVNC_PACKAGE_DIR/kasmvncserver_*.deb /tmp/
|
||
|
RUN apt-get install -y /tmp/*$(dpkg --print-architecture).deb
|
||
|
|
||
|
ENV USER docker
|
||
|
ENV HOME /home/docker
|
||
|
|
||
|
RUN chown -R 1000:0 $HOME
|
||
|
USER 1000:ssl-cert
|
||
|
WORKDIR $HOME
|
||
|
|
||
|
RUN pip3 install --user pipenv
|
||
|
RUN echo 'PATH="~/.local/bin/:$PATH"' >> ~/.bashrc
|
||
|
|
||
|
ENV LC_ALL=C.UTF-8
|
||
|
ENV LANG=C.UTF-8
|
||
|
|
||
|
ENTRYPOINT ["/bin/bash", "-ic", "/src/builder/run-specs-inside-docker"]
|