Skip to content

Commit

Permalink
Disable certificate check when downloading dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
i96751414 committed Nov 7, 2021
1 parent cc62d6d commit d2384c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/scripts/build-boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name="boost_${BOOST_VERSION//./_}"
package_name="${name}.tar.bz2"

if [ ! -f "${package_name}" ]; then
wget -q "https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${package_name}"
wget --no-check-certificate -q "https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${package_name}"
fi
echo "${BOOST_SHA256} ${package_name}" | sha256sum -c -
tar -xjf "${package_name}"
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/build-golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bootstrap_path="${local_path}/bootstrap"

mkdir -p "${bootstrap_path}"
if [ ! -f "golang-bootstrap.tar.gz" ]; then
wget -q "https://dl.google.com/go/go${GOLANG_BOOTSTRAP_VERSION}.tar.gz" -O golang-bootstrap.tar.gz
wget --no-check-certificate -q "https://dl.google.com/go/go${GOLANG_BOOTSTRAP_VERSION}.tar.gz" -O golang-bootstrap.tar.gz
fi
echo "${GOLANG_BOOTSTRAP_SHA256} golang-bootstrap.tar.gz" | sha256sum -c -
tar -C "${bootstrap_path}" -xzf golang-bootstrap.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/build-libtorrent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ -v LT_PTHREADS ]; then
echo "#define BOOST_SP_USE_PTHREADS" >>"${CROSS_ROOT}/include/boost/config/user.hpp"
fi
if [ ! -f "${LIBTORRENT_VERSION}.tar.gz" ]; then
wget -q "https://github.com/arvidn/libtorrent/archive/${LIBTORRENT_VERSION//\\./_}.tar.gz"
wget --no-check-certificate -q "https://github.com/arvidn/libtorrent/archive/${LIBTORRENT_VERSION//\\./_}.tar.gz"
fi
tar -xzf "${LIBTORRENT_VERSION}.tar.gz"
rm "${LIBTORRENT_VERSION}.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/build-openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scripts_path=$(dirname "$(readlink -f "$0")")
source "${scripts_path}/common.sh"

if [ ! -f "openssl-${OPENSSL_VERSION}.tar.gz" ]; then
wget -q "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz"
wget --no-check-certificate -q "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz"
fi
echo "${OPENSSL_SHA256} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c -
tar -xzf "openssl-${OPENSSL_VERSION}.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/build-swig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scripts_path=$(dirname "$(readlink -f "$0")")
source "${scripts_path}/common.sh"

if [ ! -f "swig-${SWIG_VERSION}.tar.gz" ]; then
wget -q "https://github.com/swig/swig/archive/${SWIG_VERSION}.tar.gz" -O "swig-${SWIG_VERSION}.tar.gz"
wget --no-check-certificate -q "https://github.com/swig/swig/archive/${SWIG_VERSION}.tar.gz" -O "swig-${SWIG_VERSION}.tar.gz"
fi
echo "$SWIG_SHA256 swig-${SWIG_VERSION}.tar.gz" | sha256sum -c -
tar -xzf "swig-${SWIG_VERSION}.tar.gz"
Expand Down

0 comments on commit d2384c5

Please sign in to comment.