2023-02-24 13:02:28 +01:00
|
|
|
FROM fedora:37
|
|
|
|
|
|
|
|
ENV KASMVNC_BUILD_OS fedora
|
|
|
|
ENV KASMVNC_BUILD_OS_CODENAME thirtyseven
|
2023-03-04 23:16:05 +01:00
|
|
|
ENV XORG_VER 1.20.14
|
2023-02-24 13:02:28 +01:00
|
|
|
|
|
|
|
RUN \
|
|
|
|
echo "**** install build deps ****" && \
|
2023-03-04 23:16:05 +01:00
|
|
|
dnf group install -y \
|
|
|
|
"C Development Tools and Libraries" \
|
|
|
|
"Development Tools" && \
|
2023-02-24 13:02:28 +01:00
|
|
|
dnf install -y \
|
|
|
|
autoconf \
|
|
|
|
automake \
|
2023-03-04 23:16:05 +01:00
|
|
|
bison \
|
|
|
|
byacc \
|
2023-02-24 13:02:28 +01:00
|
|
|
bzip2 \
|
|
|
|
cmake \
|
2023-03-04 23:16:05 +01:00
|
|
|
diffutils \
|
|
|
|
doxygen \
|
|
|
|
file \
|
|
|
|
flex \
|
|
|
|
fop \
|
2023-02-24 13:02:28 +01:00
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
git \
|
2023-03-04 23:16:05 +01:00
|
|
|
glibc-devel \
|
2023-02-24 13:02:28 +01:00
|
|
|
libdrm-devel \
|
|
|
|
libepoxy-devel \
|
|
|
|
libjpeg-turbo-devel \
|
|
|
|
libjpeg-turbo-static \
|
2023-03-04 23:16:05 +01:00
|
|
|
libmd-devel \
|
2023-02-24 13:02:28 +01:00
|
|
|
libpciaccess-devel \
|
|
|
|
libtool \
|
|
|
|
libwebp-devel \
|
|
|
|
libX11-devel \
|
|
|
|
libXau-devel \
|
|
|
|
libxcb-devel \
|
|
|
|
libXcursor-devel \
|
|
|
|
libxcvt-devel \
|
|
|
|
libXdmcp-devel \
|
|
|
|
libXext-devel \
|
|
|
|
libXfont2-devel \
|
|
|
|
libxkbfile-devel \
|
|
|
|
libXrandr-devel \
|
|
|
|
libxshmfence-devel \
|
|
|
|
libXtst-devel \
|
|
|
|
mesa-libEGL-devel \
|
2023-03-02 21:00:16 +01:00
|
|
|
mesa-libgbm-devel \
|
2023-02-24 13:02:28 +01:00
|
|
|
mesa-libGL-devel \
|
|
|
|
meson \
|
2023-03-04 23:16:05 +01:00
|
|
|
mingw64-binutils \
|
|
|
|
mt-st \
|
2023-02-24 13:02:28 +01:00
|
|
|
nettle-devel \
|
|
|
|
openssl-devel \
|
|
|
|
patch \
|
|
|
|
pixman-devel \
|
|
|
|
wayland-devel \
|
|
|
|
wget \
|
2023-03-04 23:16:05 +01:00
|
|
|
which \
|
2023-02-24 13:02:28 +01:00
|
|
|
xcb-util-devel \
|
|
|
|
xcb-util-image-devel \
|
|
|
|
xcb-util-keysyms-devel \
|
|
|
|
xcb-util-renderutil-devel \
|
|
|
|
xcb-util-wm-devel \
|
|
|
|
xinit \
|
|
|
|
xkbcomp \
|
|
|
|
xkbcomp-devel \
|
|
|
|
xkeyboard-config \
|
2023-03-04 23:16:05 +01:00
|
|
|
xmlto \
|
2023-02-24 13:02:28 +01:00
|
|
|
xorg-x11-font-utils \
|
|
|
|
xorg-x11-proto-devel \
|
|
|
|
xorg-x11-server-common \
|
|
|
|
xorg-x11-server-devel \
|
2023-03-04 23:16:05 +01:00
|
|
|
xorg-x11-xtrans-devel \
|
|
|
|
xsltproc
|
2023-02-24 13:02:28 +01:00
|
|
|
|
|
|
|
RUN useradd -m docker && echo "docker:docker" | chpasswd
|
|
|
|
|
|
|
|
COPY --chown=docker:docker . /src/
|
|
|
|
|
|
|
|
USER docker
|
|
|
|
ENTRYPOINT ["/src/builder/build.sh"]
|