Update Dockerfile.mingw

avoid docker cache when using git
This commit is contained in:
qweaszxcdf 2017-07-26 11:16:48 +08:00 committed by GitHub
parent 94a47ec428
commit 63c4ab14f7

View File

@ -105,7 +105,7 @@ RUN tar xf libssh2-1.8.0.tar.gz && \
--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 && \
cd aria2 && autoreconf -i && ./mingw-config && make && \
$HOST-strip src/aria2c.exe