1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Overhauled Linux build environment

This commit is contained in:
Paweł Jastrzębski
2016-02-18 12:21:21 +01:00
parent f78dc3cd8f
commit c9cf635229
3 changed files with 2 additions and 29 deletions

View File

@@ -90,8 +90,7 @@ class BuildBinaryCommand(distutils.cmd.Command):
os.system("bash -c '%s'" % script)
exit(0)
else:
os.system('docker build --no-cache -t kcc . && docker run --rm -v ' + os.getcwd() +
':/out kcc && docker rmi kcc')
os.system('docker run --rm -v ' + os.getcwd() + ':/app -e KCCVER=' + VERSION + ' acidweb/kcc')
exit(0)