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

  1. @echo off
  2. pushd %~dp0
  3. set "REPO=shadowsocks"
  4. set "REV=master"
  5. set "PLUGIN=true"
  6. set "IMAGE=ss-build-mingw"
  7. set "DIST=ss-libev-win-dist.tar.gz"
  8. docker build --force-rm -t %IMAGE% ^
  9. --build-arg REV=%REV% --build-arg REPO=%REPO% ^
  10. --build-arg REBUILD=%RANDOM% ^
  11. --build-arg PLUGIN=%PLUGIN% .
  12. docker run --rm --entrypoint cat %IMAGE% /bin.tgz > %DIST%
  13. pause