Use wget instead of curl

This commit is contained in:
Yuki Okushi 2020-10-14 20:46:13 +09:00
parent ffefa3f5f8
commit 9d9d15ed64
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \