Add some readme files, start fixing docker build.

Docker (and CI in general) build currently isn't generating protobuf files.
Docker image also needs to check that pigpio works.
This commit is contained in:
Piv
2020-08-30 15:16:15 +09:30
parent 2c84b1bc80
commit 622ed0911e
6 changed files with 117 additions and 1 deletions

View File

@@ -20,6 +20,12 @@ task build(type: Exec, dependsOn: copyPythonCode) {
args 'setup.py', 'bdist_wheel'
}
task buildDocker(type: Exec, dependsOn: copyPythonCode) {
executable 'docker'
workingDir projectDir
args 'build', '--build-arg', "PYPI_USERNAME=$System.env.PYPI_USERNAME", '--build-arg', "PYPI_PASSWORD=$System.env.PYPI_PASSWORD", '-t', 'vato.ddns.net:8082/pycar:latest', '.'
}
task clean {
doLast {
delete 'dist'