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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user