summaryrefslogtreecommitdiff
path: root/Dockerfile.android
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2023-09-16 18:30:17 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2023-09-17 19:59:50 +0900
commit85142435c60e5ae91fcea4d6a8834bf45bc000b8 (patch)
treec744da45fc4cb8e47f5a23c1d1fab2aa1bb23a97 /Dockerfile.android
parent2a809a99cd5d9cbd47e43b764a637f5a6d228f2a (diff)
Make releases with docker
This is slightly different from the current procedure because now android and mingw binaries are built from source code fetched from the remote repository.
Diffstat (limited to 'Dockerfile.android')
-rw-r--r--Dockerfile.android4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile.android b/Dockerfile.android
index 034d48af..1f185662 100644
--- a/Dockerfile.android
+++ b/Dockerfile.android
@@ -40,7 +40,7 @@ RUN curl -L -O https://dl.google.com/android/repository/android-ndk-$NDK_VERSION
rm android-ndk-$NDK_VERSION-linux.zip
# aria2 version
-ENV ARIA2_VERSION master
+ARG ARIA2_VERSION=master
# Library versions
ENV OPENSSL_VERSION=1.1.1w
@@ -122,7 +122,7 @@ RUN ./configure \
# Build aria2
WORKDIR /root/build
-RUN git clone https://github.com/aria2/aria2 -b $ARIA2_VERSION --depth 1
+RUN git clone -b $ARIA2_VERSION --depth 1 https://github.com/aria2/aria2
WORKDIR /root/build/aria2
RUN autoreconf -i && \