Pull the base image.
(cli_ctx)
| 81 | |
| 82 | |
| 83 | def pull_base_image(cli_ctx): |
| 84 | """Pull the base image.""" |
| 85 | cmd = [cli_ctx.engine, "pull", cli_ctx.base_image] |
| 86 | if cli_ctx.root_build: |
| 87 | cmd.insert(0, "sudo") |
| 88 | _run(cmd).check_returncode() |
| 89 | |
| 90 | |
| 91 | def push_image(cli_ctx): |