Commit a55bf542 authored by Romain Vimont's avatar Romain Vimont Committed by Hugo Beauzée-Luyssen

Verify checksums of downloaded files

Verify files downloaded via wget (over ftp, http or https) against
expected checksums.
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent bd5b3893
......@@ -4,7 +4,11 @@ ENV IMAGE_DATE=201802211142
RUN TARGET_TRIPLE=i686-w64-mingw32 \
SQLITE_VERSION=sqlite-autoconf-3140000 \
SQLITE_SHA256=742db0ebbd9cc91ed6a41857f50aa9795fc859c994a256125135cd07f6cdfd76 \
JPEGTURBO_VERSION=1.5.0 \
JPEGTURBO_SHA256=9f397c31a67d2b00ee37597da25898b03eb282ccd87b135a50a69993b6a2035f \
RAPIDJSON_VERSION=1.0.2 \
RAPIDJSON_SHA256=c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 \
PATH=/opt/gcc-$TARGET_TRIPLE/bin:$PATH && \
mkdir /build && cd /build && \
git clone --depth=1 https://git.videolan.org/git/vlc.git && \
......@@ -23,16 +27,19 @@ RUN TARGET_TRIPLE=i686-w64-mingw32 \
mkdir -p /prefix/dll && \
cp src/.libs/libvlccore.dll /prefix/dll/ && \
cp lib/.libs/libvlc.dll /prefix/dll && \
cd /build && wget https://www.sqlite.org/2016/$SQLITE_VERSION.tar.gz && \
cd /build && wget -q https://www.sqlite.org/2016/$SQLITE_VERSION.tar.gz && \
echo $SQLITE_SHA256 $SQLITE_VERSION.tar.gz | sha256sum -c && \
tar xzf $SQLITE_VERSION.tar.gz && cd $SQLITE_VERSION && \
./configure --prefix=/prefix --host=$TARGET_TRIPLE --disable-shared && \
make -j`nproc` && make install && \
cd /build && \
wget http://downloads.sourceforge.net/project/libjpeg-turbo/1.5.0/libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz && \
wget -q https://downloads.sourceforge.net/project/libjpeg-turbo/1.5.0/libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz && \
echo $JPEGTURBO_SHA256 libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz | sha256sum -c && \
tar xzf libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz && \
cd libjpeg-turbo-$JPEGTURBO_VERSION && ./configure --host=$TARGET_TRIPLE --prefix=/prefix --disable-shared && \
make -j`nproc` && make install && \
cd /build && wget https://github.com/miloyip/rapidjson/archive/v1.0.2.tar.gz && \
cd /build && wget -q https://github.com/miloyip/rapidjson/archive/v$RAPIDJSON_VERSION.tar.gz && \
echo $RAPIDJSON_SHA256 v$RAPIDJSON_VERSION.tar.gz | sha256sum -c && \
tar xzf v1.0.2.tar.gz && cd rapidjson-1.0.2/ && \
cmake -DCMAKE_INSTALL_PREFIX=/prefix -DRAPIDJSON_BUILD_DOC=OFF \
-DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF . && \
......
......@@ -4,7 +4,11 @@ ENV IMAGE_DATE=201802211142
RUN TARGET_TRIPLE=x86_64-w64-mingw32 \
SQLITE_VERSION=sqlite-autoconf-3140000 \
SQLITE_SHA256=742db0ebbd9cc91ed6a41857f50aa9795fc859c994a256125135cd07f6cdfd76 \
JPEGTURBO_VERSION=1.5.0 \
JPEGTURBO_SHA256=9f397c31a67d2b00ee37597da25898b03eb282ccd87b135a50a69993b6a2035f \
RAPIDJSON_VERSION=1.0.2 \
RAPIDJSON_SHA256=c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 \
PATH=/opt/gcc-$TARGET_TRIPLE/bin:$PATH && \
mkdir /build && cd /build && \
git clone --depth=1 https://git.videolan.org/git/vlc.git && \
......@@ -23,16 +27,19 @@ RUN TARGET_TRIPLE=x86_64-w64-mingw32 \
mkdir -p /prefix/dll && \
cp src/.libs/libvlccore.dll /prefix/dll/ && \
cp lib/.libs/libvlc.dll /prefix/dll && \
cd /build && wget https://www.sqlite.org/2016/$SQLITE_VERSION.tar.gz && \
cd /build && wget -q https://www.sqlite.org/2016/$SQLITE_VERSION.tar.gz && \
echo $SQLITE_SHA256 $SQLITE_VERSION.tar.gz | sha256sum -c && \
tar xzf $SQLITE_VERSION.tar.gz && cd $SQLITE_VERSION && \
./configure --prefix=/prefix --host=$TARGET_TRIPLE --disable-shared && \
make -j`nproc` && make install && \
cd /build && \
wget http://downloads.sourceforge.net/project/libjpeg-turbo/1.5.0/libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz && \
wget -q https://downloads.sourceforge.net/project/libjpeg-turbo/1.5.0/libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz && \
echo $JPEGTURBO_SHA256 libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz | sha256sum -c && \
tar xzf libjpeg-turbo-$JPEGTURBO_VERSION.tar.gz && \
cd libjpeg-turbo-$JPEGTURBO_VERSION && ./configure --host=$TARGET_TRIPLE --prefix=/prefix --disable-shared && \
make -j`nproc` && make install && \
cd /build && wget https://github.com/miloyip/rapidjson/archive/v1.0.2.tar.gz && \
cd /build && wget -q https://github.com/miloyip/rapidjson/archive/v$RAPIDJSON_VERSION.tar.gz && \
echo $RAPIDJSON_SHA256 v$RAPIDJSON_VERSION.tar.gz | sha256sum -c && \
tar xzf v1.0.2.tar.gz && cd rapidjson-1.0.2/ && \
cmake -DCMAKE_INSTALL_PREFIX=/prefix -DRAPIDJSON_BUILD_DOC=OFF \
-DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF . && \
......
......@@ -15,7 +15,9 @@ RUN dpkg --add-architecture i386 && apt-get update && \
# install android sdk
RUN mkdir sdk && cd sdk && \
wget http://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip && \
wget -q https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip && \
ANDROID_NDK_SHA256=0ecc2017802924cf81fffc0f51d342e3e69de6343da892ac9fa1cd79bc106024 && \
echo $ANDROID_NDK_SHA256 android-ndk-r14b-linux-x86_64.zip | sha256sum -c && \
unzip android-ndk-r14b-linux-x86_64.zip && \
rm -f android-ndk-r14b-linux-x86_64.zip && \
ln -s android-ndk-r14b android-ndk && \
......@@ -24,7 +26,9 @@ RUN mkdir sdk && cd sdk && \
mkdir "licenses" && \
echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "licenses/android-sdk-license" && \
echo "d56f5187479451eabf01fb78af6dfcb131a6481e" >> "licenses/android-sdk-license" && \
wget https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip && \
wget -q https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip && \
SDK_TOOLS_SHA256=444e22ce8ca0f67353bda4b85175ed3731cae3ffa695ca18119cbacef1c1bea0 && \
echo $SDK_TOOLS_SHA256 sdk-tools-linux-3859397.zip | sha256sum -c && \
unzip sdk-tools-linux-3859397.zip && \
rm -f sdk-tools-linux-3859397.zip && \
tools/bin/sdkmanager "build-tools;26.0.1" "platform-tools" "platforms;android-26" && \
......
......@@ -30,17 +30,24 @@ RUN set -x && \
MINGW_PREFIX=$TOOLCHAIN_PREFIX/$TARGET_TUPLE \
PATH=$TOOLCHAIN_PREFIX/bin:$PATH \
GCC_VERSION=6.4.0 \
GCC_SHA256=850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4 \
BINUTILS_VERSION=2.27 \
BINUTILS_SHA256=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 \
MPFR_VERSION=3.1.6 \
MPFR_SHA256=569ceb418aa935317a79e93b87eeb3f956cab1a97dfb2f3b5fd8ac2501011d62 \
GMP_VERSION=6.1.1 \
MPC_VERSION=1.0.3 && \
\
GMP_SHA256=d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831 \
MPC_VERSION=1.0.3 \
MPC_SHA256=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 \
&& \
cd /build && \
mkdir $TOOLCHAIN_PREFIX && \
mkdir $MINGW_PREFIX && \
ln -s $MINGW_PREFIX $TOOLCHAIN_PREFIX/mingw && \
wget -q http://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VERSION.tar.bz2 && \
echo $BINUTILS_SHA256 binutils-$BINUTILS_VERSION.tar.bz2 | sha256sum -c && \
wget -q ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz && \
echo $GCC_SHA256 gcc-$GCC_VERSION.tar.xz | sha256sum -c && \
git config --global user.name "VideoLAN Buildbot" && \
git config --global user.email buildbot@videolan.org && \
git clone --depth=1 --branch v5.0.3 git://git.code.sf.net/p/mingw-w64/mingw-w64 && \
......@@ -54,8 +61,11 @@ RUN set -x && \
--host=$TARGET_TUPLE --enable-secure-api && make install && \
cd /build && \
wget -q https://ftp.gnu.org/gnu/mpfr/mpfr-$MPFR_VERSION.tar.gz && \
echo $MPFR_SHA256 mpfr-$MPFR_VERSION.tar.gz | sha256sum -c && \
wget -q https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.xz && \
echo $GMP_SHA256 gmp-$GMP_VERSION.tar.xz | sha256sum -c && \
wget -q ftp://ftp.gnu.org/gnu/mpc/mpc-$MPC_VERSION.tar.gz && \
echo $MPC_SHA256 mpc-$MPC_VERSION.tar.gz | sha256sum -c && \
tar xf mpfr-$MPFR_VERSION.tar.gz && \
tar xf gmp-$GMP_VERSION.tar.xz && \
tar xf mpc-$MPC_VERSION.tar.gz && \
......@@ -95,10 +105,14 @@ RUN set -x && \
make -j4 && make install && \
\
chmod +x /opt/wine/wait_process.sh && \
wget https://raw.githubusercontent.com/Winetricks/winetricks/d30478da6981e0842956e5b326339b52540efaec/src/winetricks -O /opt/wine/winetricks && \
wget -q https://raw.githubusercontent.com/Winetricks/winetricks/d30478da6981e0842956e5b326339b52540efaec/src/winetricks -O /opt/wine/winetricks && \
WINETRICKS_SHA256=01ebb56d22f54467343700eedfe283d82a47e67bbb6c2d68b7da743f41bb78a3 && \
echo $WINETRICKS_SHA256 /opt/wine/winetricks | sha256sum -c && \
chmod +x /opt/wine/winetricks && \
WINE_MONO_VERSION=4.5.6 && mkdir -p /usr/share/wine/mono \
&& wget "https://download.videolan.org/contrib/wine-mono/wine-mono-$WINE_MONO_VERSION.msi" -O /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
WINE_MONO_VERSION=4.5.6 && mkdir -p /usr/share/wine/mono && \
wget -q "https://download.videolan.org/contrib/wine-mono/wine-mono-$WINE_MONO_VERSION.msi" -O /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
WINE_MONO_SHA256=ac681f737f83742d786706529eb85f4bc8d6bdddd8dcdfa9e2e336b71973bc25 && \
echo $WINE_MONO_SHA256 /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi | sha256sum -c && \
chmod +x /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
cd / && rm -rf /build
......@@ -107,7 +121,9 @@ RUN wine wineboot --init && \
/opt/wine/wait_process.sh wineserver && \
/opt/wine/winetricks --unattended dotnet40 dotnet_verifier && \
/opt/wine/wait_process.sh wineserver && \
wget https://download.videolan.org/contrib/wix/wix-3.5.msi -O ~/wix.msi && \
wget -q https://download.videolan.org/contrib/wix/wix-3.5.msi -O ~/wix.msi && \
WIX_SHA256=621b70e8761d5b940d8c32a42b0e92fd55767f8908a9b32e06bb3d12a30bc47b && \
echo $WIX_SHA256 ~/wix.msi | sha256sum -c && \
wine msiexec /i ~/wix.msi && \
cd ~/ && \
rm -f ~/wix.msi
......
......@@ -31,17 +31,24 @@ RUN set -x && \
MINGW_PREFIX=$TOOLCHAIN_PREFIX/$TARGET_TUPLE \
PATH=$TOOLCHAIN_PREFIX/bin:$PATH \
GCC_VERSION=6.4.0 \
GCC_SHA256=850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4 \
BINUTILS_VERSION=2.27 \
BINUTILS_SHA256=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 \
MPFR_VERSION=3.1.6 \
MPFR_SHA256=569ceb418aa935317a79e93b87eeb3f956cab1a97dfb2f3b5fd8ac2501011d62 \
GMP_VERSION=6.1.1 \
MPC_VERSION=1.0.3 && \
\
GMP_SHA256=d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831 \
MPC_VERSION=1.0.3 \
MPC_SHA256=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 \
&& \
cd /build && \
mkdir $TOOLCHAIN_PREFIX && \
mkdir $MINGW_PREFIX && \
ln -s $MINGW_PREFIX $TOOLCHAIN_PREFIX/mingw && \
wget -q http://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VERSION.tar.bz2 && \
echo $BINUTILS_SHA256 binutils-$BINUTILS_VERSION.tar.bz2 | sha256sum -c && \
wget -q ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz && \
echo $GCC_SHA256 gcc-$GCC_VERSION.tar.xz | sha256sum -c && \
git config --global user.name "VideoLAN Buildbot" && \
git config --global user.email buildbot@videolan.org && \
git clone --depth=1 --branch v5.0.3 git://git.code.sf.net/p/mingw-w64/mingw-w64 && \
......@@ -55,8 +62,11 @@ RUN set -x && \
--host=$TARGET_TUPLE --enable-secure-api && make install && \
cd /build && \
wget -q https://ftp.gnu.org/gnu/mpfr/mpfr-$MPFR_VERSION.tar.gz && \
echo $MPFR_SHA256 mpfr-$MPFR_VERSION.tar.gz | sha256sum -c && \
wget -q https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.xz && \
echo $GMP_SHA256 gmp-$GMP_VERSION.tar.xz | sha256sum -c && \
wget -q ftp://ftp.gnu.org/gnu/mpc/mpc-$MPC_VERSION.tar.gz && \
echo $MPC_SHA256 mpc-$MPC_VERSION.tar.gz | sha256sum -c && \
tar xf mpfr-$MPFR_VERSION.tar.gz && \
tar xf gmp-$GMP_VERSION.tar.xz && \
tar xf mpc-$MPC_VERSION.tar.gz && \
......@@ -98,10 +108,14 @@ RUN set -x && \
make -j4 && make install && \
\
chmod +x /opt/wine/wait_process.sh && \
wget https://raw.githubusercontent.com/Winetricks/winetricks/d30478da6981e0842956e5b326339b52540efaec/src/winetricks -O /opt/wine/winetricks && \
wget -q https://raw.githubusercontent.com/Winetricks/winetricks/d30478da6981e0842956e5b326339b52540efaec/src/winetricks -O /opt/wine/winetricks && \
WINETRICKS_SHA256=01ebb56d22f54467343700eedfe283d82a47e67bbb6c2d68b7da743f41bb78a3 && \
echo $WINETRICKS_SHA256 /opt/wine/winetricks | sha256sum -c && \
chmod +x /opt/wine/winetricks && \
WINE_MONO_VERSION=4.5.6 && mkdir -p /usr/share/wine/mono \
&& wget "https://download.videolan.org/contrib/wine-mono/wine-mono-$WINE_MONO_VERSION.msi" -O /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
WINE_MONO_VERSION=4.5.6 && mkdir -p /usr/share/wine/mono && \
wget -q "https://download.videolan.org/contrib/wine-mono/wine-mono-$WINE_MONO_VERSION.msi" -O /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
WINE_MONO_SHA256=ac681f737f83742d786706529eb85f4bc8d6bdddd8dcdfa9e2e336b71973bc25 && \
echo $WINE_MONO_SHA256 /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi | sha256sum -c && \
chmod +x /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
cd / && rm -rf /build
......@@ -110,7 +124,9 @@ RUN wine wineboot --init && \
/opt/wine/wait_process.sh wineserver && \
/opt/wine/winetricks --unattended dotnet40 dotnet_verifier && \
/opt/wine/wait_process.sh wineserver && \
wget https://download.videolan.org/contrib/wix/wix-3.5.msi -O ~/wix.msi && \
wget -q https://download.videolan.org/contrib/wix/wix-3.5.msi -O ~/wix.msi && \
WIX_SHA256=621b70e8761d5b940d8c32a42b0e92fd55767f8908a9b32e06bb3d12a30bc47b && \
echo $WIX_SHA256 ~/wix.msi | sha256sum -c && \
wine msiexec /i ~/wix.msi && \
cd ~/ && \
rm -f ~/wix.msi
......
......@@ -24,6 +24,8 @@ RUN git config --global user.name "VideoLAN Buildbot" && \
git config --global user.email buildbot@videolan.org && \
cd $DEP_ROOT && \
wget -q https://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip &&\
NACL_SDK_SHA256=b4290a1761f0736f2527df7ec3d47bbfc8c328f39898ddfa1af809cbcb531da7 && \
echo $NACL_SDK_SHA256 nacl_sdk.zip | sha256sum -c && \
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git && \
unzip nacl_sdk.zip && cd nacl_sdk && \
./naclsdk install $PEPPER_VERSION && \
......
......@@ -24,16 +24,23 @@ RUN set -x && \
cd /build && \
\
GCC_VERSION=6.4.0 \
GCC_SHA256=850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4 \
MPFR_VERSION=3.1.6 \
MPFR_SHA256=569ceb418aa935317a79e93b87eeb3f956cab1a97dfb2f3b5fd8ac2501011d62 \
BINUTILS_VERSION=2.27 \
BINUTILS_SHA256=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 \
GMP_VERSION=6.1.1 \
MPC_VERSION=1.0.3 && \
\
GMP_SHA256=d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831 \
MPC_VERSION=1.0.3 \
MPC_SHA256=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 \
&& \
mkdir $TOOLCHAIN_PREFIX && \
mkdir $MINGW_PREFIX && \
ln -s $MINGW_PREFIX $TOOLCHAIN_PREFIX/mingw && \
wget -q http://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VERSION.tar.bz2 && \
echo $BINUTILS_SHA256 binutils-$BINUTILS_VERSION.tar.bz2 | sha256sum -c && \
wget -q ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz && \
echo $GCC_SHA256 gcc-$GCC_VERSION.tar.xz | sha256sum -c && \
git config --global user.name "VideoLAN Buildbot" && \
git config --global user.email buildbot@videolan.org && \
git clone --depth=1 git://git.code.sf.net/p/mingw-w64/mingw-w64 && \
......@@ -48,8 +55,11 @@ RUN set -x && \
--host=$TARGET_TUPLE && make install && \
cd /build && \
wget -q https://ftp.gnu.org/gnu/mpfr/mpfr-$MPFR_VERSION.tar.gz && \
echo $MPFR_SHA256 mpfr-$MPFR_VERSION.tar.gz | sha256sum -c && \
wget -q https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.xz && \
echo $GMP_SHA256 gmp-$GMP_VERSION.tar.xz | sha256sum -c && \
wget -q ftp://ftp.gnu.org/gnu/mpc/mpc-$MPC_VERSION.tar.gz && \
echo $MPC_SHA256 mpc-$MPC_VERSION.tar.gz | sha256sum -c && \
tar xf mpfr-$MPFR_VERSION.tar.gz && \
tar xf gmp-$GMP_VERSION.tar.xz && \
tar xf mpc-$MPC_VERSION.tar.gz && \
......
......@@ -24,16 +24,23 @@ RUN set -x && \
cd /build && \
\
GCC_VERSION=6.4.0 \
GCC_SHA256=850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4 \
MPFR_VERSION=3.1.6 \
MPFR_SHA256=569ceb418aa935317a79e93b87eeb3f956cab1a97dfb2f3b5fd8ac2501011d62 \
BINUTILS_VERSION=2.27 \
BINUTILS_SHA256=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 \
GMP_VERSION=6.1.1 \
MPC_VERSION=1.0.3 && \
\
GMP_SHA256=d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831 \
MPC_VERSION=1.0.3 \
MPC_SHA256=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 \
&& \
mkdir $TOOLCHAIN_PREFIX && \
mkdir $MINGW_PREFIX && \
ln -s $MINGW_PREFIX $TOOLCHAIN_PREFIX/mingw && \
wget -q http://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VERSION.tar.bz2 && \
echo $BINUTILS_SHA256 binutils-$BINUTILS_VERSION.tar.bz2 | sha256sum -c && \
wget -q ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz && \
echo $GCC_SHA256 gcc-$GCC_VERSION.tar.xz | sha256sum -c && \
git config --global user.name "VideoLAN Buildbot" && \
git config --global user.email buildbot@videolan.org && \
git clone --depth=1 git://git.code.sf.net/p/mingw-w64/mingw-w64 && \
......@@ -48,8 +55,11 @@ RUN set -x && \
--host=$TARGET_TUPLE && make install && \
cd /build && \
wget -q https://ftp.gnu.org/gnu/mpfr/mpfr-$MPFR_VERSION.tar.gz && \
echo $MPFR_SHA256 mpfr-$MPFR_VERSION.tar.gz | sha256sum -c && \
wget -q https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.xz && \
echo $GMP_SHA256 gmp-$GMP_VERSION.tar.xz | sha256sum -c && \
wget -q ftp://ftp.gnu.org/gnu/mpc/mpc-$MPC_VERSION.tar.gz && \
echo $MPC_SHA256 mpc-$MPC_VERSION.tar.gz | sha256sum -c && \
tar xf mpfr-$MPFR_VERSION.tar.gz && \
tar xf gmp-$GMP_VERSION.tar.xz && \
tar xf mpc-$MPC_VERSION.tar.gz && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment