2022-04-17 17:59:02 +00:00
|
|
|
ARG DEBUG 1
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-04-17 17:59:02 +00:00
|
|
|
FROM centos:7 AS builder
|
2020-10-29 09:31:58 +00:00
|
|
|
ENV GIT https://github.com
|
2022-01-03 11:14:26 +00:00
|
|
|
ENV GIT_FREEDESKTOP ${GIT}/gitlab-freedesktop-mirrors
|
2021-01-12 20:41:15 +00:00
|
|
|
ENV PKG_CONFIG_PATH /usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
|
2022-06-14 14:34:09 +00:00
|
|
|
ENV QT 6_3_1
|
|
|
|
ENV QT_TAG v6.3.1
|
|
|
|
ENV QT_PREFIX /usr/local/desktop-app/Qt-6.3.1
|
2020-10-29 09:31:58 +00:00
|
|
|
ENV OPENSSL_VER 1_1_1
|
|
|
|
ENV OPENSSL_PREFIX /usr/local/desktop-app/openssl-1.1.1
|
2021-10-21 08:57:05 +00:00
|
|
|
ENV OPENSSL_ROOT_DIR ${OPENSSL_PREFIX}
|
|
|
|
ENV CMAKE_VER 3.21.3
|
|
|
|
ENV CMAKE_FILE cmake-$CMAKE_VER-Linux-x86_64.sh
|
2022-04-17 03:26:46 +00:00
|
|
|
ENV CMAKE_PREFIX_PATH ${QT_PREFIX}
|
|
|
|
ENV PATH ${QT_PREFIX}/bin:${PATH}
|
2021-12-11 17:06:45 +00:00
|
|
|
ENV HFLAGS_DEBUG "-fstack-protector-all -fstack-clash-protection -fPIC"
|
|
|
|
ENV HFLAGS "$HFLAGS_DEBUG -D_FORTIFY_SOURCE=2"
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
|
|
|
&& yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm \
|
|
|
|
&& yum -y install centos-release-scl \
|
|
|
|
&& yum -y install git meson ninja-build autoconf automake libtool patch \
|
|
|
|
fontconfig-devel freetype-devel libX11-devel at-spi2-core-devel alsa-lib-devel \
|
|
|
|
pulseaudio-libs-devel mesa-libGL-devel mesa-libEGL-devel mesa-libgbm-devel \
|
|
|
|
libdrm-devel gtk3-devel \
|
|
|
|
perl-XML-Parser pkgconfig bison yasm file which xorg-x11-util-macros \
|
|
|
|
devtoolset-10-make devtoolset-10-gcc devtoolset-10-gcc-c++ \
|
|
|
|
devtoolset-10-binutils llvm-toolset-7.0 llvm-toolset-7.0-clang-devel \
|
|
|
|
llvm-toolset-7.0-llvm-devel \
|
|
|
|
&& yum clean all
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2021-12-10 12:14:55 +00:00
|
|
|
# Fix a bug with argument naming in CentOS 7 glibc
|
|
|
|
RUN sed -i 's/char \*__block/char */' /usr/include/unistd.h
|
|
|
|
|
2021-11-10 07:51:35 +00:00
|
|
|
SHELL [ "bash", "-c", ". /opt/rh/devtoolset-10/enable; exec bash -c \"$@\"", "-s"]
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
ENV LibrariesPath /usr/src/Libraries
|
|
|
|
WORKDIR $LibrariesPath
|
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN mkdir /opt/cmake \
|
|
|
|
&& curl -sSLo $CMAKE_FILE $GIT/Kitware/CMake/releases/download/v$CMAKE_VER/$CMAKE_FILE \
|
|
|
|
&& sh $CMAKE_FILE --prefix=/opt/cmake --skip-license \
|
|
|
|
&& ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake \
|
|
|
|
&& rm $CMAKE_FILE
|
2021-10-21 08:57:05 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS patches
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone $GIT/desktop-app/patches.git \
|
|
|
|
&& cd patches \
|
2022-06-14 14:34:09 +00:00
|
|
|
&& git checkout 4a5c759f8f \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& rm -rf .git
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
FROM builder AS libffi
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b v3.4.2 --depth=1 $GIT/libffi/libffi.git \
|
|
|
|
&& cd libffi \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& ./configure --enable-static --disable-docs \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libffi-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libffi
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2021-09-08 21:16:14 +00:00
|
|
|
FROM builder AS zlib
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b v1.2.11 --depth=1 $GIT/madler/zlib.git \
|
|
|
|
&& cd zlib \
|
|
|
|
&& CFLAGS="-O3 $HFLAGS" ./configure --static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/zlib-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf zlib
|
2021-09-08 21:16:14 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS xz
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b v5.2.5 https://git.tukaani.org/xz.git \
|
|
|
|
&& cd xz \
|
|
|
|
&& CFLAGS="$HFLAGS" cmake -GNinja -B build . -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
&& cmake --build build --parallel \
|
|
|
|
&& DESTDIR="$LibrariesPath/xz-cache" cmake --install build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf xz
|
2020-10-30 11:01:00 +00:00
|
|
|
|
2021-05-03 07:04:07 +00:00
|
|
|
FROM patches AS libproxy
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 0.4.17 --depth=1 $GIT/libproxy/libproxy.git \
|
|
|
|
&& cd libproxy \
|
|
|
|
&& git apply ../patches/libproxy.patch \
|
|
|
|
&& CFLAGS="$HFLAGS" CXXFLAGS="$HFLAGS" cmake -GNinja -B build . \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DWITH_DBUS=OFF \
|
|
|
|
-DWITH_NM=OFF \
|
|
|
|
-DWITH_NMold=OFF \
|
|
|
|
&& cmake --build build --parallel \
|
|
|
|
&& DESTDIR="$LibrariesPath/libproxy-cache" cmake --install build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libproxy
|
2021-05-03 07:04:07 +00:00
|
|
|
|
2020-10-30 11:01:00 +00:00
|
|
|
FROM builder AS mozjpeg
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b v4.0.3 --depth=1 $GIT/mozilla/mozjpeg.git \
|
|
|
|
&& cd mozjpeg \
|
|
|
|
&& CFLAGS="$HFLAGS" cmake -GNinja -B build . \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr/local \
|
|
|
|
-DWITH_JPEG8=ON \
|
|
|
|
-DPNG_SUPPORTED=OFF \
|
|
|
|
&& cmake --build build --parallel \
|
|
|
|
&& DESTDIR="$LibrariesPath/mozjpeg-cache" cmake --install build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf mozjpeg
|
2020-10-30 11:01:00 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS opus
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b v1.3.1 --depth=1 $GIT/xiph/opus.git \
|
|
|
|
&& cd opus \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./configure \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/opus-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf opus
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-01-22 17:24:09 +00:00
|
|
|
FROM builder AS libvpx
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b v1.11.0 --depth=1 $GIT/webmproject/libvpx.git \
|
|
|
|
&& cd libvpx \
|
|
|
|
&& ./configure \
|
|
|
|
--disable-examples \
|
|
|
|
--disable-unit-tests \
|
|
|
|
--disable-tools \
|
|
|
|
--disable-docs \
|
|
|
|
--enable-vp8 \
|
|
|
|
--enable-vp9 \
|
|
|
|
--enable-webm-io \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libvpx-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libvpx
|
2022-01-22 17:24:09 +00:00
|
|
|
|
2021-04-27 15:35:34 +00:00
|
|
|
FROM builder AS rnnoise
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b master --depth=1 $GIT/desktop-app/rnnoise \
|
|
|
|
&& cd rnnoise \
|
|
|
|
&& CFLAGS="$HFLAGS" cmake -GNinja -B build . -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
&& cmake --build build --parallel \
|
|
|
|
&& mkdir -p "$LibrariesPath/rnnoise-cache/usr/local/include" \
|
|
|
|
&& cp "include/rnnoise.h" "$LibrariesPath/rnnoise-cache/usr/local/include/" \
|
|
|
|
&& mkdir -p "$LibrariesPath/rnnoise-cache/usr/local/lib" \
|
|
|
|
&& cp "build/librnnoise.a" "$LibrariesPath/rnnoise-cache/usr/local/lib/" \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf rnnoise
|
2021-04-27 15:35:34 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS xcb-proto
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b xcb-proto-1.14.1 --depth=1 $GIT_FREEDESKTOP/xcbproto.git \
|
|
|
|
&& cd xcbproto \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-proto-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf xcbproto
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
FROM builder AS xcb
|
|
|
|
COPY --from=xcb-proto ${LibrariesPath}/xcb-proto-cache /
|
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libxcb-1.14 --depth=1 $GIT_FREEDESKTOP/libxcb.git \
|
|
|
|
&& cd libxcb \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcb
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2020-11-04 06:57:03 +00:00
|
|
|
FROM builder AS xcb-wm
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 0.4.1 --depth=1 --recursive $GIT_FREEDESKTOP/libxcb-wm.git \
|
|
|
|
&& cd libxcb-wm \
|
|
|
|
&& ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-wm-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcb-wm
|
2020-11-04 06:57:03 +00:00
|
|
|
|
|
|
|
FROM builder AS xcb-util
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 0.4.0 --depth=1 --recursive $GIT_FREEDESKTOP/libxcb-util.git \
|
|
|
|
&& cd libxcb-util \
|
|
|
|
&& ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-util-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcb-util
|
2020-11-04 06:57:03 +00:00
|
|
|
|
|
|
|
FROM builder AS xcb-image
|
|
|
|
COPY --from=xcb-util ${LibrariesPath}/xcb-util-cache /
|
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 0.4.0 --depth=1 --recursive $GIT_FREEDESKTOP/libxcb-image.git \
|
|
|
|
&& cd libxcb-image \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-image-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcb-image
|
2020-11-04 06:57:03 +00:00
|
|
|
|
|
|
|
FROM builder AS xcb-keysyms
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 0.4.0 --depth=1 --recursive $GIT_FREEDESKTOP/libxcb-keysyms.git \
|
|
|
|
&& cd libxcb-keysyms \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-keysyms-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcb-keysyms
|
2020-11-04 06:57:03 +00:00
|
|
|
|
|
|
|
FROM builder AS xcb-render-util
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 0.3.9 --depth=1 --recursive $GIT_FREEDESKTOP/libxcb-render-util.git \
|
|
|
|
&& cd libxcb-render-util \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/xcb-render-util-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcb-render-util
|
2020-11-04 06:57:03 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS libXext
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXext-1.3.4 --depth=1 $GIT_FREEDESKTOP/libxext.git \
|
|
|
|
&& cd libxext \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXext-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxext
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2021-05-10 09:13:09 +00:00
|
|
|
FROM builder AS libXtst
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXtst-1.2.3 --depth=1 $GIT_FREEDESKTOP/libxtst.git \
|
|
|
|
&& cd libxtst \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXtst-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxtst
|
2021-05-10 09:13:09 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS libXfixes
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXfixes-5.0.3 --depth=1 $GIT_FREEDESKTOP/libxfixes.git \
|
|
|
|
&& cd libxfixes \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXfixes-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxfixes
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2021-05-10 09:13:09 +00:00
|
|
|
FROM builder AS libXrandr
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXrandr-1.5.2 --depth=1 $GIT_FREEDESKTOP/libxrandr.git \
|
|
|
|
&& cd libxrandr \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXrandr-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxrandr
|
2021-05-10 09:13:09 +00:00
|
|
|
|
|
|
|
FROM builder AS libXrender
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXrender-0.9.10 --depth=1 $GIT_FREEDESKTOP/libxrender.git \
|
|
|
|
&& cd libxrender \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXrender-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxrender
|
2021-05-10 09:13:09 +00:00
|
|
|
|
|
|
|
FROM builder AS libXdamage
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXdamage-1.1.5 --depth=1 $GIT_FREEDESKTOP/libxdamage.git \
|
|
|
|
&& cd libxdamage \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXdamage-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxdamage
|
2021-05-10 09:13:09 +00:00
|
|
|
|
|
|
|
FROM builder AS libXcomposite
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b libXcomposite-0.4.5 --depth=1 $GIT_FREEDESKTOP/libxcomposite.git \
|
|
|
|
&& cd libxcomposite \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" ./autogen.sh --enable-static \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libXcomposite-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxcomposite
|
2021-05-10 09:13:09 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS wayland
|
|
|
|
COPY --from=libffi ${LibrariesPath}/libffi-cache /
|
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 1.20.0 --depth=1 $GIT_FREEDESKTOP/wayland.git \
|
|
|
|
&& cd wayland \
|
|
|
|
&& meson build \
|
|
|
|
--buildtype=release \
|
|
|
|
--default-library=both \
|
|
|
|
-Dtests=false \
|
|
|
|
-Ddocumentation=false \
|
|
|
|
-Ddtd_validation=false \
|
|
|
|
-Dicon_directory=/usr/share/icons \
|
|
|
|
&& meson compile -C build \
|
|
|
|
&& DESTDIR="$LibrariesPath/wayland-cache" meson install -C build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf wayland
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-03-23 09:58:11 +00:00
|
|
|
FROM builder AS nv-codec-headers
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b n11.1.5.1 --depth=1 https://github.com/FFmpeg/nv-codec-headers.git \
|
|
|
|
&& DESTDIR="$LibrariesPath/nv-codec-headers-cache" make -C nv-codec-headers install \
|
|
|
|
&& rm -rf nv-codec-headers
|
2022-03-23 09:58:11 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS ffmpeg
|
|
|
|
COPY --from=opus ${LibrariesPath}/opus-cache /
|
2022-01-22 17:24:09 +00:00
|
|
|
COPY --from=libvpx ${LibrariesPath}/libvpx-cache /
|
2022-03-23 09:58:11 +00:00
|
|
|
COPY --from=nv-codec-headers ${LibrariesPath}/nv-codec-headers-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git init ffmpeg \
|
|
|
|
&& cd ffmpeg \
|
|
|
|
&& git remote add origin $GIT/FFmpeg/FFmpeg.git \
|
|
|
|
&& git fetch --depth=1 origin cc33e73618a981de7fd96385ecb34719de031f16 \
|
|
|
|
&& git reset --hard FETCH_HEAD \
|
|
|
|
&& ./configure \
|
|
|
|
--extra-cflags="-DCONFIG_SAFE_BITSTREAM_READER=1 $HFLAGS" \
|
|
|
|
--extra-cxxflags="-DCONFIG_SAFE_BITSTREAM_READER=1 $HFLAGS" \
|
|
|
|
--disable-debug \
|
|
|
|
--disable-programs \
|
|
|
|
--disable-doc \
|
|
|
|
--disable-network \
|
|
|
|
--disable-autodetect \
|
|
|
|
--disable-everything \
|
|
|
|
--enable-libopus \
|
|
|
|
--enable-libvpx \
|
|
|
|
--enable-ffnvcodec \
|
|
|
|
--enable-nvdec \
|
|
|
|
--enable-cuvid \
|
|
|
|
--enable-protocol=file \
|
|
|
|
--enable-hwaccel=av1_nvdec \
|
|
|
|
--enable-hwaccel=h264_nvdec \
|
|
|
|
--enable-hwaccel=hevc_nvdec \
|
|
|
|
--enable-hwaccel=mpeg2_nvdec \
|
|
|
|
--enable-hwaccel=mpeg4_nvdec \
|
|
|
|
--enable-hwaccel=vp8_nvdec \
|
|
|
|
--enable-decoder=aac \
|
|
|
|
--enable-decoder=aac_fixed \
|
|
|
|
--enable-decoder=aac_latm \
|
|
|
|
--enable-decoder=aasc \
|
2022-05-13 13:13:09 +00:00
|
|
|
--enable-decoder=ac3 \
|
2022-04-17 08:31:08 +00:00
|
|
|
--enable-decoder=alac \
|
|
|
|
--enable-decoder=av1 \
|
|
|
|
--enable-decoder=av1_cuvid \
|
2022-05-13 13:13:09 +00:00
|
|
|
--enable-decoder=eac3 \
|
2022-04-17 08:31:08 +00:00
|
|
|
--enable-decoder=flac \
|
|
|
|
--enable-decoder=gif \
|
|
|
|
--enable-decoder=h264 \
|
|
|
|
--enable-decoder=hevc \
|
|
|
|
--enable-decoder=libvpx_vp8 \
|
|
|
|
--enable-decoder=libvpx_vp9 \
|
|
|
|
--enable-decoder=mp1 \
|
|
|
|
--enable-decoder=mp1float \
|
|
|
|
--enable-decoder=mp2 \
|
|
|
|
--enable-decoder=mp2float \
|
|
|
|
--enable-decoder=mp3 \
|
|
|
|
--enable-decoder=mp3adu \
|
|
|
|
--enable-decoder=mp3adufloat \
|
|
|
|
--enable-decoder=mp3float \
|
|
|
|
--enable-decoder=mp3on4 \
|
|
|
|
--enable-decoder=mp3on4float \
|
|
|
|
--enable-decoder=mpeg4 \
|
|
|
|
--enable-decoder=msmpeg4v2 \
|
|
|
|
--enable-decoder=msmpeg4v3 \
|
|
|
|
--enable-decoder=opus \
|
|
|
|
--enable-decoder=pcm_alaw \
|
|
|
|
--enable-decoder=pcm_f32be \
|
|
|
|
--enable-decoder=pcm_f32le \
|
|
|
|
--enable-decoder=pcm_f64be \
|
|
|
|
--enable-decoder=pcm_f64le \
|
|
|
|
--enable-decoder=pcm_lxf \
|
|
|
|
--enable-decoder=pcm_mulaw \
|
|
|
|
--enable-decoder=pcm_s16be \
|
|
|
|
--enable-decoder=pcm_s16be_planar \
|
|
|
|
--enable-decoder=pcm_s16le \
|
|
|
|
--enable-decoder=pcm_s16le_planar \
|
|
|
|
--enable-decoder=pcm_s24be \
|
|
|
|
--enable-decoder=pcm_s24daud \
|
|
|
|
--enable-decoder=pcm_s24le \
|
|
|
|
--enable-decoder=pcm_s24le_planar \
|
|
|
|
--enable-decoder=pcm_s32be \
|
|
|
|
--enable-decoder=pcm_s32le \
|
|
|
|
--enable-decoder=pcm_s32le_planar \
|
|
|
|
--enable-decoder=pcm_s64be \
|
|
|
|
--enable-decoder=pcm_s64le \
|
|
|
|
--enable-decoder=pcm_s8 \
|
|
|
|
--enable-decoder=pcm_s8_planar \
|
|
|
|
--enable-decoder=pcm_u16be \
|
|
|
|
--enable-decoder=pcm_u16le \
|
|
|
|
--enable-decoder=pcm_u24be \
|
|
|
|
--enable-decoder=pcm_u24le \
|
|
|
|
--enable-decoder=pcm_u32be \
|
|
|
|
--enable-decoder=pcm_u32le \
|
|
|
|
--enable-decoder=pcm_u8 \
|
|
|
|
--enable-decoder=pcm_zork \
|
|
|
|
--enable-decoder=vorbis \
|
|
|
|
--enable-decoder=vp8 \
|
|
|
|
--enable-decoder=wavpack \
|
|
|
|
--enable-decoder=wmalossless \
|
|
|
|
--enable-decoder=wmapro \
|
|
|
|
--enable-decoder=wmav1 \
|
|
|
|
--enable-decoder=wmav2 \
|
|
|
|
--enable-decoder=wmavoice \
|
|
|
|
--enable-encoder=libopus \
|
|
|
|
--enable-parser=aac \
|
|
|
|
--enable-parser=aac_latm \
|
|
|
|
--enable-parser=flac \
|
|
|
|
--enable-parser=h264 \
|
|
|
|
--enable-parser=hevc \
|
|
|
|
--enable-parser=mpeg4video \
|
|
|
|
--enable-parser=mpegaudio \
|
|
|
|
--enable-parser=opus \
|
|
|
|
--enable-parser=vorbis \
|
|
|
|
--enable-demuxer=aac \
|
|
|
|
--enable-demuxer=flac \
|
|
|
|
--enable-demuxer=gif \
|
|
|
|
--enable-demuxer=h264 \
|
|
|
|
--enable-demuxer=hevc \
|
|
|
|
--enable-demuxer=matroska \
|
|
|
|
--enable-demuxer=m4v \
|
|
|
|
--enable-demuxer=mov \
|
|
|
|
--enable-demuxer=mp3 \
|
|
|
|
--enable-demuxer=ogg \
|
|
|
|
--enable-demuxer=wav \
|
|
|
|
--enable-muxer=ogg \
|
|
|
|
--enable-muxer=opus \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/ffmpeg-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf ffmpeg
|
2022-04-17 03:27:17 +00:00
|
|
|
|
2022-04-25 16:31:49 +00:00
|
|
|
FROM builder AS pipewire
|
|
|
|
RUN git clone -b 0.3.42 --depth=1 $GIT/PipeWire/pipewire.git \
|
|
|
|
&& cd pipewire \
|
|
|
|
&& meson build \
|
|
|
|
--buildtype=release \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Dexamples=disabled \
|
|
|
|
-Dpipewire-v4l2=disabled \
|
|
|
|
-Dspa-plugins=disabled \
|
|
|
|
-Dsession-managers=[] \
|
|
|
|
&& meson compile -C build \
|
|
|
|
&& DESTDIR="$LibrariesPath/pipewire-cache" meson install -C build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf pipewire
|
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM builder AS openal
|
2022-04-25 16:31:49 +00:00
|
|
|
COPY --from=pipewire ${LibrariesPath}/pipewire-cache /
|
|
|
|
|
|
|
|
RUN git clone -b 1.22.0 --depth=1 $GIT/kcat/openal-soft.git \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& cd openal-soft \
|
2022-04-25 16:31:49 +00:00
|
|
|
&& curl -sSL https://github.com/kcat/openal-soft/commit/2ea5bb91686ee1a7350672bf15b7b63649dbf111.patch \
|
|
|
|
| git apply \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& CFLAGS="$HFLAGS" CXXFLAGS="$HFLAGS" cmake -GNinja -B build . \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DLIBTYPE:STRING=STATIC \
|
|
|
|
-DALSOFT_EXAMPLES=OFF \
|
|
|
|
-DALSOFT_TESTS=OFF \
|
|
|
|
-DALSOFT_UTILS=OFF \
|
2022-04-25 16:31:49 +00:00
|
|
|
-DALSOFT_INSTALL_CONFIG=OFF \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& cmake --build build --parallel \
|
|
|
|
&& DESTDIR="$LibrariesPath/openal-cache" cmake --install build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf openal-soft
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
FROM builder AS openssl
|
|
|
|
ENV opensslDir openssl_${OPENSSL_VER}
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b OpenSSL_${OPENSSL_VER}-stable --depth=1 $GIT/openssl/openssl.git $opensslDir \
|
|
|
|
&& cd $opensslDir \
|
|
|
|
&& ./config \
|
|
|
|
--prefix="$OPENSSL_PREFIX" \
|
|
|
|
--openssldir=/etc/ssl \
|
|
|
|
no-tests \
|
|
|
|
no-dso \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/openssl-cache" install_sw \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf $opensslDir
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
FROM builder AS xkbcommon
|
2021-01-12 20:41:15 +00:00
|
|
|
COPY --from=xcb ${LibrariesPath}/xcb-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b xkbcommon-1.3.1 --depth=1 $GIT/xkbcommon/libxkbcommon.git \
|
|
|
|
&& cd libxkbcommon \
|
|
|
|
&& meson build \
|
|
|
|
--buildtype=release \
|
|
|
|
--default-library=both \
|
|
|
|
-Denable-docs=false \
|
|
|
|
-Denable-wayland=false \
|
|
|
|
-Denable-xkbregistry=false \
|
|
|
|
-Dxkb-config-root=/usr/share/X11/xkb \
|
|
|
|
-Dxkb-config-extra-path=/etc/xkb \
|
|
|
|
-Dx-locale-root=/usr/share/X11/locale \
|
|
|
|
&& meson compile -C build \
|
|
|
|
&& DESTDIR="$LibrariesPath/xkbcommon-cache" meson install -C build \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libxkbcommon
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2021-02-28 02:34:41 +00:00
|
|
|
FROM builder AS mm-common
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 1.0.3 --depth=1 $GIT/GNOME/mm-common.git \
|
|
|
|
&& cd mm-common \
|
|
|
|
&& NOCONFIGURE=1 ./autogen.sh \
|
|
|
|
&& ./configure --enable-network \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/mm-common-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf mm-common
|
2021-02-28 02:34:41 +00:00
|
|
|
|
|
|
|
FROM builder AS libsigcplusplus
|
|
|
|
COPY --from=mm-common ${LibrariesPath}/mm-common-cache /
|
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 2.10.7 --depth=1 $GIT/libsigcplusplus/libsigcplusplus.git \
|
|
|
|
&& cd libsigcplusplus \
|
|
|
|
&& export ACLOCAL_PATH="/usr/local/share/aclocal" \
|
|
|
|
&& NOCONFIGURE=1 ./autogen.sh \
|
|
|
|
&& CFLAGS="-g -O2 $HFLAGS" CXXFLAGS="-g -O2 $HFLAGS" ./configure \
|
|
|
|
--enable-maintainer-mode \
|
|
|
|
--enable-static \
|
|
|
|
--disable-documentation \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/libsigcplusplus-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf libsigcplusplus
|
2021-02-28 02:34:41 +00:00
|
|
|
|
|
|
|
FROM patches AS glibmm
|
|
|
|
COPY --from=mm-common ${LibrariesPath}/mm-common-cache /
|
|
|
|
COPY --from=libsigcplusplus ${LibrariesPath}/libsigcplusplus-cache /
|
|
|
|
|
|
|
|
# equals to glib version of Ubuntu 14.04
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b 2.40.0 --depth=1 $GIT/GNOME/glibmm.git \
|
|
|
|
&& cd glibmm \
|
|
|
|
&& git apply ../patches/glibmm.patch \
|
|
|
|
&& export ACLOCAL_PATH="/usr/local/share/aclocal" \
|
|
|
|
&& NOCONFIGURE=1 ./autogen.sh \
|
|
|
|
&& CC="gcc -flto $HFLAGS" CXX="g++ -flto $HFLAGS" AR=gcc-ar RANLIB=gcc-ranlib ./configure \
|
|
|
|
--enable-maintainer-mode \
|
|
|
|
--enable-static \
|
|
|
|
--disable-documentation \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="$LibrariesPath/glibmm-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf glibmm
|
2021-02-28 02:34:41 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM patches AS qt
|
|
|
|
COPY --from=libffi ${LibrariesPath}/libffi-cache /
|
2021-09-08 21:16:14 +00:00
|
|
|
COPY --from=zlib ${LibrariesPath}/zlib-cache /
|
2021-05-03 07:04:07 +00:00
|
|
|
COPY --from=libproxy ${LibrariesPath}/libproxy-cache /
|
2020-10-30 11:01:00 +00:00
|
|
|
COPY --from=mozjpeg ${LibrariesPath}/mozjpeg-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=xcb ${LibrariesPath}/xcb-cache /
|
2020-11-04 06:57:03 +00:00
|
|
|
COPY --from=xcb-wm ${LibrariesPath}/xcb-wm-cache /
|
|
|
|
COPY --from=xcb-util ${LibrariesPath}/xcb-util-cache /
|
|
|
|
COPY --from=xcb-image ${LibrariesPath}/xcb-image-cache /
|
|
|
|
COPY --from=xcb-keysyms ${LibrariesPath}/xcb-keysyms-cache /
|
|
|
|
COPY --from=xcb-render-util ${LibrariesPath}/xcb-render-util-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=wayland ${LibrariesPath}/wayland-cache /
|
|
|
|
COPY --from=openssl ${LibrariesPath}/openssl-cache /
|
|
|
|
COPY --from=xkbcommon ${LibrariesPath}/xkbcommon-cache /
|
|
|
|
|
2022-04-17 17:59:02 +00:00
|
|
|
ARG DEBUG
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone -b ${QT_TAG} --depth=1 git://code.qt.io/qt/qt5.git qt_${QT} \
|
|
|
|
&& cd qt_${QT} \
|
2022-04-24 00:48:10 +00:00
|
|
|
&& git submodule update --init --recursive --depth=1 qtbase qtwayland qtimageformats qtsvg qt5compat \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& cd qtbase \
|
|
|
|
&& find ../../patches/qtbase_${QT} -type f -print0 | sort -z | xargs -r0 git apply \
|
|
|
|
&& cd .. \
|
|
|
|
&& ./configure -prefix "$QT_PREFIX" \
|
|
|
|
-release \
|
2022-04-17 17:59:02 +00:00
|
|
|
${DEBUG:+-force-debug-info} \
|
2022-04-17 08:31:08 +00:00
|
|
|
-opensource \
|
|
|
|
-confirm-license \
|
|
|
|
-libproxy \
|
|
|
|
-qt-libpng \
|
|
|
|
-qt-harfbuzz \
|
|
|
|
-qt-pcre \
|
|
|
|
-no-icu \
|
|
|
|
-no-feature-xcb-sm \
|
|
|
|
-no-feature-egl-extension-platform-wayland \
|
2022-06-14 15:26:09 +00:00
|
|
|
-no-feature-wayland-server \
|
2022-06-15 02:55:36 +00:00
|
|
|
-no-feature-highdpiscaling \
|
2022-04-17 08:31:08 +00:00
|
|
|
-static \
|
|
|
|
-dbus-runtime \
|
|
|
|
-openssl-linked \
|
|
|
|
-nomake examples \
|
|
|
|
-nomake tests \
|
|
|
|
&& cmake --build . --parallel \
|
|
|
|
&& DESTDIR="$LibrariesPath/qt-cache" cmake --install . \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf qt_${QT}
|
2020-10-30 11:01:00 +00:00
|
|
|
|
2020-10-29 09:31:58 +00:00
|
|
|
FROM patches AS breakpad
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git clone https://chromium.googlesource.com/breakpad/breakpad.git \
|
|
|
|
&& cd breakpad \
|
|
|
|
&& git checkout dfcb7b6799 \
|
|
|
|
&& git apply ../patches/breakpad.diff \
|
|
|
|
&& git clone https://chromium.googlesource.com/linux-syscall-support.git src/third_party/lss \
|
|
|
|
&& cd src/third_party/lss \
|
|
|
|
&& git checkout e1e7b0ad8e \
|
|
|
|
&& cd ../../.. \
|
|
|
|
&& ./configure \
|
|
|
|
&& make -j$(nproc) \
|
|
|
|
&& make DESTDIR="${LibrariesPath}/breakpad-cache" install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf breakpad
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
FROM builder AS webrtc
|
2020-10-30 11:01:00 +00:00
|
|
|
COPY --from=mozjpeg ${LibrariesPath}/mozjpeg-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=opus ${LibrariesPath}/opus-cache /
|
2022-01-22 17:24:09 +00:00
|
|
|
COPY --from=libvpx ${LibrariesPath}/libvpx-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=ffmpeg ${LibrariesPath}/ffmpeg-cache /
|
|
|
|
COPY --from=openssl ${LibrariesPath}/openssl-cache /
|
2021-05-10 09:13:09 +00:00
|
|
|
COPY --from=libXtst ${LibrariesPath}/libXtst-cache /
|
2022-04-25 16:31:49 +00:00
|
|
|
COPY --from=pipewire ${LibrariesPath}/pipewire-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2021-05-18 06:01:35 +00:00
|
|
|
# Shallow clone on a specific commit.
|
2022-04-17 08:31:08 +00:00
|
|
|
RUN git init tg_owt \
|
|
|
|
&& cd tg_owt \
|
|
|
|
&& git remote add origin $GIT/desktop-app/tg_owt.git \
|
2022-05-04 07:42:54 +00:00
|
|
|
&& git fetch --depth=1 origin 442d5bb593c0ae314960308d78f2016ad1f80c3e \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& git reset --hard FETCH_HEAD \
|
2022-04-24 00:48:10 +00:00
|
|
|
&& git submodule update --init --recursive --depth=1 \
|
2022-04-17 08:31:08 +00:00
|
|
|
&& rm -rf .git \
|
|
|
|
&& cmake -G"Ninja Multi-Config" -B out . \
|
|
|
|
-DCMAKE_C_FLAGS_RELEASE="-O3 -DNDEBUG $HFLAGS" \
|
|
|
|
-DCMAKE_C_FLAGS_DEBUG="-g $HFLAGS_DEBUG" \
|
|
|
|
-DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG $HFLAGS" \
|
|
|
|
-DCMAKE_CXX_FLAGS_DEBUG="-g $HFLAGS_DEBUG" \
|
|
|
|
-DTG_OWT_SPECIAL_TARGET=linux \
|
|
|
|
-DTG_OWT_LIBJPEG_INCLUDE_PATH=/usr/local/include \
|
|
|
|
-DTG_OWT_OPENSSL_INCLUDE_PATH=$OPENSSL_PREFIX/include \
|
|
|
|
-DTG_OWT_OPUS_INCLUDE_PATH=/usr/local/include/opus \
|
|
|
|
-DTG_OWT_LIBVPX_INCLUDE_PATH=/usr/local/include \
|
|
|
|
-DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/local/include
|
|
|
|
|
2021-05-18 06:01:35 +00:00
|
|
|
WORKDIR tg_owt
|
2022-04-17 03:27:17 +00:00
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
FROM webrtc AS webrtc_release
|
|
|
|
RUN cmake --build out --config Release --parallel \
|
|
|
|
&& find out -mindepth 1 -maxdepth 1 ! -name Release -exec rm -rf {} \;
|
2020-10-29 09:31:58 +00:00
|
|
|
|
2022-04-17 08:31:08 +00:00
|
|
|
FROM webrtc AS webrtc_debug
|
2022-04-17 17:59:02 +00:00
|
|
|
ARG DEBUG
|
|
|
|
RUN [ -z "$DEBUG" ] || (cmake --build out --config Debug --parallel \
|
|
|
|
&& find out -mindepth 1 -maxdepth 1 ! -name Debug -exec rm -rf {} \;)
|
|
|
|
RUN [ -n "$DEBUG" ] || mkdir -p out/Debug
|
2022-04-17 08:31:08 +00:00
|
|
|
|
|
|
|
FROM builder
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=libffi ${LibrariesPath}/libffi-cache /
|
2021-09-08 21:16:14 +00:00
|
|
|
COPY --from=zlib ${LibrariesPath}/zlib-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=xz ${LibrariesPath}/xz-cache /
|
2021-05-03 07:04:07 +00:00
|
|
|
COPY --from=libproxy ${LibrariesPath}/libproxy-cache /
|
2020-10-30 11:01:00 +00:00
|
|
|
COPY --from=mozjpeg ${LibrariesPath}/mozjpeg-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=opus ${LibrariesPath}/opus-cache /
|
2022-01-22 17:24:09 +00:00
|
|
|
COPY --from=libvpx ${LibrariesPath}/libvpx-cache /
|
2021-04-27 15:35:34 +00:00
|
|
|
COPY --from=rnnoise ${LibrariesPath}/rnnoise-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=xcb ${LibrariesPath}/xcb-cache /
|
2020-11-04 06:57:03 +00:00
|
|
|
COPY --from=xcb-wm ${LibrariesPath}/xcb-wm-cache /
|
|
|
|
COPY --from=xcb-util ${LibrariesPath}/xcb-util-cache /
|
|
|
|
COPY --from=xcb-image ${LibrariesPath}/xcb-image-cache /
|
|
|
|
COPY --from=xcb-keysyms ${LibrariesPath}/xcb-keysyms-cache /
|
|
|
|
COPY --from=xcb-render-util ${LibrariesPath}/xcb-render-util-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=libXext ${LibrariesPath}/libXext-cache /
|
|
|
|
COPY --from=libXfixes ${LibrariesPath}/libXfixes-cache /
|
2021-05-10 09:13:09 +00:00
|
|
|
COPY --from=libXtst ${LibrariesPath}/libXtst-cache /
|
|
|
|
COPY --from=libXrandr ${LibrariesPath}/libXrandr-cache /
|
|
|
|
COPY --from=libXrender ${LibrariesPath}/libXrender-cache /
|
|
|
|
COPY --from=libXdamage ${LibrariesPath}/libXdamage-cache /
|
|
|
|
COPY --from=libXcomposite ${LibrariesPath}/libXcomposite-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=wayland ${LibrariesPath}/wayland-cache /
|
|
|
|
COPY --from=ffmpeg ${LibrariesPath}/ffmpeg-cache /
|
|
|
|
COPY --from=openal ${LibrariesPath}/openal-cache /
|
|
|
|
COPY --from=openssl ${LibrariesPath}/openssl-cache /
|
|
|
|
COPY --from=xkbcommon ${LibrariesPath}/xkbcommon-cache /
|
2021-02-28 02:34:41 +00:00
|
|
|
COPY --from=libsigcplusplus ${LibrariesPath}/libsigcplusplus-cache /
|
|
|
|
COPY --from=glibmm ${LibrariesPath}/glibmm-cache /
|
2020-10-29 09:31:58 +00:00
|
|
|
COPY --from=qt ${LibrariesPath}/qt-cache /
|
|
|
|
COPY --from=breakpad ${LibrariesPath}/breakpad-cache /
|
|
|
|
COPY --from=webrtc ${LibrariesPath}/tg_owt tg_owt
|
2022-04-17 08:31:08 +00:00
|
|
|
COPY --from=webrtc_release ${LibrariesPath}/tg_owt/out/Release tg_owt/out/Release
|
|
|
|
COPY --from=webrtc_debug ${LibrariesPath}/tg_owt/out/Debug tg_owt/out/Debug
|
2020-10-29 09:31:58 +00:00
|
|
|
|
|
|
|
WORKDIR ../tdesktop
|
|
|
|
VOLUME [ "/usr/src/tdesktop" ]
|
|
|
|
CMD [ "/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh" ]
|