2021-02-19 10:58:38 +01:00
|
|
|
FROM fedora:33
|
|
|
|
|
|
|
|
ENV KASMVNC_BUILD_OS fedora
|
|
|
|
ENV KASMVNC_BUILD_OS_CODENAME thirtythree
|
|
|
|
ENV XORG_VER 1.20.10
|
|
|
|
|
|
|
|
# RUN dnf install -y build-dep xorg-server libxfont-dev sudo
|
|
|
|
RUN dnf install -y gcc cmake git gnutls-devel vim wget
|
|
|
|
#tightvncserver
|
2023-01-25 05:27:10 +01:00
|
|
|
RUN dnf install -y libpng-devel libtiff-devel giflib-devel openssl-devel
|
2021-02-19 10:58:38 +01:00
|
|
|
|
|
|
|
#libavcodec-dev
|
|
|
|
RUN dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
|
|
|
RUN dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
|
|
|
RUN dnf -y install ffmpeg-devel
|
|
|
|
|
|
|
|
RUN dnf install -y make
|
|
|
|
RUN dnf group install -y "Development Tools"
|
2023-01-25 05:27:10 +01:00
|
|
|
RUN dnf install -y xorg-x11-server-devel zlib-devel
|
2021-02-19 10:58:38 +01:00
|
|
|
RUN dnf install -y libxkbfile-devel libXfont2-devel xorg-x11-font-utils \
|
2022-04-07 15:01:14 +02:00
|
|
|
xorg-x11-xtrans-devel xorg-x11-xkb-utils-devel libXrandr-devel libXtst-devel \
|
|
|
|
libXcursor-devel
|
2021-02-19 10:58:38 +01:00
|
|
|
RUN dnf install -y mesa-dri-drivers
|
|
|
|
RUN dnf install -y bzip2 redhat-lsb-core
|
|
|
|
|
2023-01-25 05:27:10 +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-25 05:27:10 +01:00
|
|
|
RUN $SCRIPTS_DIR/build-libjpeg-turbo
|
|
|
|
|
2021-02-19 10:58:38 +01:00
|
|
|
RUN useradd -m docker && echo "docker:docker" | chpasswd
|
|
|
|
|
2021-08-16 14:00:55 +02:00
|
|
|
COPY --chown=docker:docker . /src/
|
2021-02-19 10:58:38 +01:00
|
|
|
|
|
|
|
USER docker
|
|
|
|
ENTRYPOINT ["/src/builder/build.sh"]
|