Skip to content
Snippets Groups Projects
Commit 9d9d15ed authored by Yuki Okushi's avatar Yuki Okushi
Browse files

Use wget instead of curl

parent ffefa3f5
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment