KasmVNC/builder/dockerfile.ubuntu_focal.build

29 lines
882 B
Plaintext
Raw Normal View History

FROM ubuntu:focal
ENV KASMVNC_BUILD_OS ubuntu
ENV KASMVNC_BUILD_OS_CODENAME focal
ENV XORG_VER 1.20.8
ENV DEBIAN_FRONTEND noninteractive
2020-09-20 14:16:44 +02:00
RUN sed -i 's$# deb-src$deb-src$' /etc/apt/sources.list
RUN apt-get update && \
apt-get -y install sudo
RUN apt-get update && apt-get install -y --no-install-recommends tzdata
2020-09-27 21:18:10 +02:00
RUN apt-get update && apt-get -y build-dep xorg-server libxfont-dev
RUN apt-get update && apt-get -y install cmake git vim wget curl
2022-04-07 15:01:14 +02:00
RUN apt-get update && apt-get -y install libpng-dev libtiff-dev libgif-dev libavcodec-dev libssl-dev libxrandr-dev libxcursor-dev
2020-09-20 14:16:44 +02:00
2023-01-18 08:09:40 +01:00
ENV SCRIPTS_DIR=/tmp/scripts
COPY builder/scripts $SCRIPTS_DIR
2023-01-26 05:18:17 +01:00
RUN $SCRIPTS_DIR/build-webp
2023-01-18 08:09:40 +01:00
RUN $SCRIPTS_DIR/build-libjpeg-turbo
2020-09-20 14:16:44 +02:00
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
2021-08-16 14:00:55 +02:00
COPY --chown=docker:docker . /src/
2020-09-20 14:16:44 +02:00
USER docker
ENTRYPOINT ["/src/builder/build.sh"]