You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
385 B

@echo off
pushd %~dp0
set "REPO=shadowsocks"
set "REV=master"
set "PLUGIN=true"
set "IMAGE=ss-build-mingw"
set "DIST=ss-libev-win-dist.tar.gz"
docker build --force-rm -t %IMAGE% ^
--build-arg REV=%REV% --build-arg REPO=%REPO% ^
--build-arg REBUILD=%RANDOM% ^
--build-arg PLUGIN=%PLUGIN% .
docker run --rm --entrypoint cat %IMAGE% /bin.tgz > %DIST%
pause