2022-06-08 12:46:03 +02:00
|
|
|
FROM ubuntu:jammy
|
|
|
|
|
|
|
|
ENV KASMVNC_BUILD_OS ubuntu
|
|
|
|
ENV KASMVNC_BUILD_OS_CODENAME jammy
|
|
|
|
ENV XORG_VER 1.20.8
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
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
|
|
|
|
RUN apt-get update && apt-get -y build-dep xorg-server libxfont-dev
|
2023-03-15 17:50:16 +01:00
|
|
|
RUN apt-get update && apt-get -y install cmake git libgnutls28-dev vim wget tightvncserver curl
|
2022-06-08 12:46:03 +02:00
|
|
|
RUN apt-get update && apt-get -y install libpng-dev libtiff-dev libgif-dev libavcodec-dev libssl-dev libxrandr-dev libxcursor-dev
|
|
|
|
|
2023-01-24 09:43:54 +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-24 09:43:54 +01:00
|
|
|
RUN $SCRIPTS_DIR/build-libjpeg-turbo
|
|
|
|
|
2022-06-08 12:46:03 +02:00
|
|
|
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
|
|
|
|
|
|
|
COPY --chown=docker:docker . /src/
|
|
|
|
|
|
|
|
USER docker
|
|
|
|
ENTRYPOINT ["/src/builder/build.sh"]
|