Use wget instead of curl
This commit is contained in:
parent
ffefa3f5f8
commit
9d9d15ed64
|
@ -3,7 +3,7 @@
|
|||
set -ex
|
||||
|
||||
NDK=android-ndk-r21d
|
||||
curl --retry 20 -O https://dl.google.com/android/repository/${NDK}-linux-x86_64.zip
|
||||
wget --tries=20 https://dl.google.com/android/repository/${NDK}-linux-x86_64.zip
|
||||
unzip -q ${NDK}-linux-x86_64.zip
|
||||
|
||||
case "$1" in
|
||||
|
|
|
@ -11,7 +11,7 @@ set -ex
|
|||
|
||||
SDK=4333796
|
||||
mkdir sdk
|
||||
curl --retry 20 https://dl.google.com/android/repository/sdk-tools-linux-${SDK}.zip -O
|
||||
wget --tries=20 https://dl.google.com/android/repository/sdk-tools-linux-${SDK}.zip
|
||||
unzip -q -d sdk sdk-tools-linux-${SDK}.zip
|
||||
|
||||
case "$1" in
|
||||
|
|
|
@ -14,7 +14,7 @@ main() {
|
|||
apt-get install --no-install-recommends e2tools
|
||||
|
||||
pushd "${td}"
|
||||
curl --retry 5 -O "${URL}/${name}"
|
||||
wget --tries=5 "${URL}/${name}"
|
||||
unzip -q "${name}"
|
||||
|
||||
local system
|
||||
|
|
|
@ -5,7 +5,7 @@ RUN apt-get update
|
|||
RUN apt-get install -y --no-install-recommends libc6-dev gcc
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
file \
|
||||
curl \
|
||||
wget \
|
||||
ca-certificates \
|
||||
python3 \
|
||||
python3-distutils \
|
||||
|
|
|
@ -5,7 +5,7 @@ RUN apt-get update
|
|||
RUN apt-get install -y --no-install-recommends libc6-dev gcc
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
file \
|
||||
curl \
|
||||
wget \
|
||||
ca-certificates \
|
||||
python3 \
|
||||
python3-distutils \
|
||||
|
|
|
@ -3,7 +3,7 @@ FROM ubuntu:20.04
|
|||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
wget \
|
||||
gcc \
|
||||
libc-dev \
|
||||
python3 \
|
||||
|
|
Loading…
Reference in New Issue