mirror of
https://github.com/aria2/aria2.git
synced 2025-02-03 15:29:42 +00:00
Dockerfile.mingw: Set aria2 version in env
This commit is contained in:
parent
3a0057257c
commit
426dc32396
@ -107,7 +107,11 @@ RUN tar xf libssh2-1.11.0.tar.bz2 && \
|
||||
--with-wincng \
|
||||
LIBS="-lws2_32" && \
|
||||
make install
|
||||
ADD https://api.github.com/repos/aria2/aria2/git/refs/heads/master version.json
|
||||
RUN git clone https://github.com/aria2/aria2 && \
|
||||
|
||||
ENV ARIA2_VERSION=master \
|
||||
ARIA2_REF=refs/heads/master
|
||||
|
||||
ADD https://api.github.com/repos/aria2/aria2/git/$ARIA2_REF version.json
|
||||
RUN git clone -b $ARIA2_VERSION --depth 1 https://github.com/aria2/aria2 && \
|
||||
cd aria2 && autoreconf -i && ./mingw-config && make && \
|
||||
$HOST-strip src/aria2c.exe
|
||||
|
Loading…
Reference in New Issue
Block a user