Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Dockerfile-proxy to error out if fetch fails (#2252)
`Dockerfile-proxy` executes several commands following `bin/fetch-proxy`, but the subsequent commands were separated by semicolon, so the overall RUN command would succeed regardless of what `bin/fetch-proxy` returned. This meant that if `bin/docker-build-proxy` was run on a proxy SHA prior to it being available, it would fail the build, but cache the unsuccessful `fetch-proxy` command, and continue to fail after the proxy becomes available. This change concatenates `fetch-proxy` and subsequent commands using ampersands, failing the build if `fetch-proxy` fails. Signed-off-by: Andrew Seigner <siggy@buoyant.io>
- Loading branch information