2020-06-29 15:40:41 +03:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
|
|
|
|
ARG THREADS=1
|
2024-05-24 23:28:50 +03:00
|
|
|
ARG QT_VERSION=v5.15.14-lts-lgpl
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2020-10-21 19:06:45 +03:00
|
|
|
ENV CFLAGS="-fPIC"
|
2020-11-11 02:42:54 +02:00
|
|
|
ENV CPPFLAGS="-fPIC"
|
2020-10-21 19:06:45 +03:00
|
|
|
ENV CXXFLAGS="-fPIC"
|
|
|
|
ENV SOURCE_DATE_EPOCH=1397818193
|
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN apt update && \
|
|
|
|
apt install -y automake autopoint bison gettext git gperf libgl1-mesa-dev libglib2.0-dev \
|
|
|
|
libpng12-dev libpthread-stubs0-dev libsodium-dev libtool-bin libudev-dev libusb-1.0-0-dev mesa-common-dev \
|
|
|
|
pkg-config python wget xutils-dev
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN git clone -b xorgproto-2020.1 --depth 1 https://gitlab.freedesktop.org/xorg/proto/xorgproto && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd xorgproto && \
|
|
|
|
git reset --hard c62e8203402cafafa5ba0357b6d1c019156c9f36 && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./autogen.sh && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
|
|
|
RUN git clone -b 1.12 --depth 1 https://gitlab.freedesktop.org/xorg/proto/xcbproto && \
|
|
|
|
cd xcbproto && \
|
|
|
|
git reset --hard 6398e42131eedddde0d98759067dde933191f049 && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./autogen.sh && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN git clone -b libXau-1.0.9 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxau && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd libxau && \
|
|
|
|
git reset --hard d9443b2c57b512cfb250b35707378654d86c7dea && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN git clone -b 1.12 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxcb && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd libxcb && \
|
|
|
|
git reset --hard d34785a34f28fa6a00f8ce00d87e3132ff0f6467 && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
make -j$THREADS clean && \
|
|
|
|
rm /usr/local/lib/libxcb-xinerama.so && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./autogen.sh --disable-shared --enable-static && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-11-11 02:42:54 +02:00
|
|
|
cp src/.libs/libxcb-xinerama.a /usr/local/lib/ && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
|
|
|
RUN git clone -b 0.4.0 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxcb-util && \
|
|
|
|
cd libxcb-util && \
|
|
|
|
git reset --hard acf790d7752f36e450d476ad79807d4012ec863b && \
|
|
|
|
git submodule init && \
|
|
|
|
git clone --depth 1 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 m4 && \
|
2022-07-13 07:13:16 +03:00
|
|
|
git -C m4 reset --hard c617eee22ae5c285e79e81ec39ce96862fd3262f && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
|
|
|
RUN git clone -b 0.4.0 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxcb-image && \
|
|
|
|
cd libxcb-image && \
|
|
|
|
git reset --hard d882052fb2ce439c6483fce944ba8f16f7294639 && \
|
|
|
|
git submodule init && \
|
|
|
|
git clone --depth 1 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 m4 && \
|
2022-07-13 07:13:16 +03:00
|
|
|
git -C m4 reset --hard c617eee22ae5c285e79e81ec39ce96862fd3262f && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
|
|
|
RUN git clone -b 0.4.0 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms && \
|
|
|
|
cd libxcb-keysyms && \
|
|
|
|
git reset --hard 0e51ee5570a6a80bdf98770b975dfe8a57f4eeb1 && \
|
|
|
|
git submodule init && \
|
|
|
|
git clone --depth 1 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 m4 && \
|
2022-07-13 07:13:16 +03:00
|
|
|
git -C m4 reset --hard c617eee22ae5c285e79e81ec39ce96862fd3262f && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
|
|
|
RUN git clone -b 0.3.9 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util && \
|
|
|
|
cd libxcb-render-util && \
|
|
|
|
git reset --hard 0317caf63de532fd7a0493ed6afa871a67253747 && \
|
|
|
|
git submodule init && \
|
|
|
|
git clone --depth 1 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 m4 && \
|
2022-07-13 07:13:16 +03:00
|
|
|
git -C m4 reset --hard c617eee22ae5c285e79e81ec39ce96862fd3262f && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
|
|
|
RUN git clone -b 0.4.1 --depth 1 https://gitlab.freedesktop.org/xorg/lib/libxcb-wm && \
|
|
|
|
cd libxcb-wm && \
|
|
|
|
git reset --hard 24eb17df2e1245885e72c9d4bbb0a0f69f0700f2 && \
|
|
|
|
git submodule init && \
|
|
|
|
git clone --depth 1 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 m4 && \
|
2022-07-13 07:13:16 +03:00
|
|
|
git -C m4 reset --hard c617eee22ae5c285e79e81ec39ce96862fd3262f && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./autogen.sh --enable-shared --disable-static && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN git clone -b xkbcommon-0.5.0 --depth 1 https://github.com/xkbcommon/libxkbcommon && \
|
2020-11-11 02:42:54 +02:00
|
|
|
cd libxkbcommon && \
|
|
|
|
git reset --hard c43c3c866eb9d52cd8f61e75cbef1c30d07f3a28 && \
|
|
|
|
./autogen.sh --prefix=/usr --enable-shared --disable-static --enable-x11 --disable-docs && \
|
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2023-09-15 21:00:31 +03:00
|
|
|
RUN git clone -b v1.3 --depth 1 https://github.com/madler/zlib && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd zlib && \
|
2023-09-15 21:00:31 +03:00
|
|
|
git reset --hard 09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851 && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --static && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2020-10-05 02:48:33 +03:00
|
|
|
RUN git clone -b VER-2-10-2 --depth 1 https://git.savannah.gnu.org/git/freetype/freetype2.git && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd freetype2 && \
|
|
|
|
git reset --hard 132f19b779828b194b3fede187cee719785db4d8 && \
|
|
|
|
./autogen.sh && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --disable-shared --enable-static --with-zlib=no && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2023-03-27 17:38:36 +03:00
|
|
|
RUN wget https://github.com/libexpat/libexpat/releases/download/R_2_4_8/expat-2.4.8.tar.bz2 && \
|
|
|
|
echo "a247a7f6bbb21cf2ca81ea4cbb916bfb9717ca523631675f99b3d4a5678dcd16 expat-2.4.8.tar.bz2" | sha256sum -c && \
|
|
|
|
tar -xf expat-2.4.8.tar.bz2 && \
|
|
|
|
rm expat-2.4.8.tar.bz2 && \
|
|
|
|
cd expat-2.4.8 && \
|
|
|
|
./configure --enable-static --disable-shared --prefix=/usr && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN git clone -b 2.13.92 --depth 1 https://gitlab.freedesktop.org/fontconfig/fontconfig && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd fontconfig && \
|
|
|
|
git reset --hard b1df1101a643ae16cdfa1d83b939de2497b1bf27 && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./autogen.sh --disable-shared --enable-static --sysconfdir=/etc --localstatedir=/var && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
|
|
|
RUN git clone -b release-64-2 --depth 1 https://github.com/unicode-org/icu && \
|
|
|
|
cd icu/icu4c/source && \
|
|
|
|
git reset --hard e2d85306162d3a0691b070b4f0a73e4012433444 && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --disable-shared --enable-static --disable-tests --disable-samples && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.80.0/source/boost_1_80_0.tar.gz && \
|
|
|
|
echo "4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847 boost_1_80_0.tar.gz" | sha256sum -c && \
|
|
|
|
tar -xzf boost_1_80_0.tar.gz && \
|
|
|
|
rm boost_1_80_0.tar.gz && \
|
|
|
|
cd boost_1_80_0 && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./bootstrap.sh && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./b2 --with-atomic --with-system --with-filesystem --with-thread --with-date_time --with-chrono --with-regex --with-serialization --with-program_options --with-locale variant=release link=static runtime-link=static cflags="${CFLAGS}" cxxflags="${CXXFLAGS}" install -a --prefix=/usr && \
|
2020-09-24 18:40:15 +03:00
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2023-04-06 02:24:39 +03:00
|
|
|
RUN wget https://www.openssl.org/source/openssl-1.1.1u.tar.gz && \
|
|
|
|
echo "e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6 openssl-1.1.1u.tar.gz" | sha256sum -c && \
|
|
|
|
tar -xzf openssl-1.1.1u.tar.gz && \
|
|
|
|
rm openssl-1.1.1u.tar.gz && \
|
|
|
|
cd openssl-1.1.1u && \
|
2024-01-14 18:08:55 +02:00
|
|
|
./config no-shared no-zlib-dynamic --prefix=/usr --openssldir=/usr && \
|
2021-09-12 21:55:29 +03:00
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN wget https://www.nlnetlabs.nl/downloads/unbound/unbound-1.16.2.tar.gz && \
|
|
|
|
echo "2e32f283820c24c51ca1dd8afecfdb747c7385a137abe865c99db4b257403581 unbound-1.16.2.tar.gz" | sha256sum -c && \
|
|
|
|
tar -xzf unbound-1.16.2.tar.gz && \
|
|
|
|
rm unbound-1.16.2.tar.gz && \
|
|
|
|
cd unbound-1.16.2 && \
|
2021-09-12 21:55:29 +03:00
|
|
|
./configure --disable-shared --enable-static --without-pyunbound --with-libexpat=/usr --with-ssl=/usr --with-libevent=no --without-pythonmodule --disable-flto --with-pthreads --with-libunbound-only --with-pic && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2021-04-30 17:05:27 +03:00
|
|
|
RUN rm /usr/lib/x86_64-linux-gnu/libX11.a && \
|
2020-11-11 02:42:54 +02:00
|
|
|
rm /usr/lib/x86_64-linux-gnu/libXext.a && \
|
|
|
|
rm /usr/lib/x86_64-linux-gnu/libX11-xcb.a && \
|
|
|
|
git clone git://code.qt.io/qt/qt5.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
cd qt5 && \
|
|
|
|
git clone git://code.qt.io/qt/qtbase.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtdeclarative.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtgraphicaleffects.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtimageformats.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtmultimedia.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtquickcontrols.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtquickcontrols2.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtsvg.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qttools.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qttranslations.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtx11extras.git -b ${QT_VERSION} --depth 1 && \
|
|
|
|
git clone git://code.qt.io/qt/qtxmlpatterns.git -b ${QT_VERSION} --depth 1 && \
|
2020-06-29 15:40:41 +03:00
|
|
|
sed -ri s/\(Libs:.*\)/\\1\ -lexpat/ /usr/local/lib/pkgconfig/fontconfig.pc && \
|
|
|
|
sed -ri s/\(Libs:.*\)/\\1\ -lz/ /usr/local/lib/pkgconfig/freetype2.pc && \
|
|
|
|
sed -ri s/\(Libs:.*\)/\\1\ -lXau/ /usr/local/lib/pkgconfig/xcb.pc && \
|
2020-11-11 02:42:54 +02:00
|
|
|
sed -i s/\\/usr\\/X11R6\\/lib64/\\/usr\\/local\\/lib/ qtbase/mkspecs/linux-g++-64/qmake.conf && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./configure --prefix=/usr -platform linux-g++-64 -opensource -confirm-license -release -static -no-avx \
|
2020-11-11 02:42:54 +02:00
|
|
|
-opengl desktop -qpa xcb -xcb -xcb-xlib -feature-xlib -system-freetype -fontconfig -glib \
|
|
|
|
-no-dbus -no-feature-qml-worker-script -no-linuxfb -no-openssl -no-sql-sqlite -no-kms -no-use-gold-linker \
|
2020-06-29 15:40:41 +03:00
|
|
|
-qt-harfbuzz -qt-libjpeg -qt-libpng -qt-pcre -qt-zlib \
|
|
|
|
-skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d \
|
|
|
|
-skip qtdoc -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtnetworkauth -skip qtpurchasing \
|
|
|
|
-skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools \
|
|
|
|
-skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview \
|
|
|
|
-skip qtwinextras -skip qtx11extras -skip gamepad -skip serialbus -skip location -skip webengine \
|
|
|
|
-nomake examples -nomake tests -nomake tools && \
|
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
cd qttools/src/linguist/lrelease && \
|
|
|
|
../../../../qtbase/bin/qmake && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
cd ../../../.. && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN git clone -b v1.0.26 --depth 1 https://github.com/libusb/libusb && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd libusb && \
|
2022-08-12 01:53:49 +03:00
|
|
|
git reset --hard 4239bc3a50014b8e6a5a2a59df1fff3b7469543b && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./autogen.sh --disable-shared --enable-static && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2023-01-25 21:09:55 +02:00
|
|
|
RUN git clone -b hidapi-0.13.1 --depth 1 https://github.com/libusb/hidapi && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd hidapi && \
|
2023-01-25 21:09:55 +02:00
|
|
|
git reset --hard 4ebce6b5059b086d05ca7e091ce04a5fd08ac3ac && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./bootstrap && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --disable-shared --enable-static && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN git clone -b v4.3.4 --depth 1 https://github.com/zeromq/libzmq && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd libzmq && \
|
2022-08-12 01:53:49 +03:00
|
|
|
git reset --hard 4097855ddaaa65ed7b5e8cb86d143842a594eebd && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./autogen.sh && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --disable-shared --enable-static --disable-libunwind --with-libsodium && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN git clone -b libgpg-error-1.45 --depth 1 git://git.gnupg.org/libgpg-error.git && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd libgpg-error && \
|
2022-08-12 01:53:49 +03:00
|
|
|
git reset --hard dbac537e5e865fb6f3aa8596d213aa8c47a9dea1 && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./autogen.sh && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --disable-shared --enable-static --disable-doc --disable-tests && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN git clone -b libgcrypt-1.10.1 --depth 1 git://git.gnupg.org/libgcrypt.git && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd libgcrypt && \
|
2022-08-12 01:53:49 +03:00
|
|
|
git reset --hard ae0e567820c37f9640440b3cff77d7c185aa6742 && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./autogen.sh && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --disable-shared --enable-static --disable-doc && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN git clone -b v21.5 --depth 1 https://github.com/protocolbuffers/protobuf && \
|
2020-06-29 15:40:41 +03:00
|
|
|
cd protobuf && \
|
2022-08-12 01:53:49 +03:00
|
|
|
git reset --hard ab840345966d0fa8e7100d771c92a73bfbadd25c && \
|
2020-06-29 15:40:41 +03:00
|
|
|
./autogen.sh && \
|
2020-10-21 19:06:45 +03:00
|
|
|
./configure --enable-static --disable-shared && \
|
2020-06-29 15:40:41 +03:00
|
|
|
make -j$THREADS && \
|
2020-09-24 18:40:15 +03:00
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|
2020-06-29 15:40:41 +03:00
|
|
|
|
2022-08-12 01:53:49 +03:00
|
|
|
RUN git clone -b v3.24.0 --depth 1 https://github.com/Kitware/CMake && \
|
2020-11-11 02:42:54 +02:00
|
|
|
cd CMake && \
|
2022-08-12 01:53:49 +03:00
|
|
|
git reset --hard 4be24f031a4829db75b85062cc67125035d8831e && \
|
2020-11-11 02:42:54 +02:00
|
|
|
./bootstrap && \
|
|
|
|
make -j$THREADS && \
|
|
|
|
make -j$THREADS install && \
|
|
|
|
rm -rf $(pwd)
|