run.bat 278 B

1234567
  1. @echo off
  2. SET IMAGE_NAME=test-testlib-gcc-latest
  3. for /f "tokens=*" %%i in ('git rev-parse --abbrev-ref HEAD') do set CURRENT_BRANCH=%%i
  4. "C:\Program Files\Docker\Docker"\DockerCli.exe -SwitchLinuxEngine
  5. docker run -it %IMAGE_NAME% /bin/bash /startup.sh %CURRENT_BRANCH%