Use the uploaded app source tarball to build a local docker image
This commit is contained in:
@@ -226,7 +226,11 @@ async function downloadImage(manifest) {
|
||||
|
||||
if (diskUsage.available < (1024*1024*1024)) throw new BoxError(BoxError.DOCKER_ERROR, `Not enough disk space to pull docker image. available: ${diskUsage.available}`);
|
||||
|
||||
await docker.downloadImage(manifest);
|
||||
if (manifest.dockerImage.indexOf('file:') === 0) {
|
||||
await docker.buildImage(manifest);
|
||||
} else {
|
||||
await docker.downloadImage(manifest);
|
||||
}
|
||||
}
|
||||
|
||||
async function updateChecklist(app, newChecks, acknowledged = false) {
|
||||
|
||||
Reference in New Issue
Block a user