mirror of https://github.com/linkerd/linkerd2.git
The current proxy Dockerfile configuration does not cache dependencies well, which can increase build times substantially. By carefully splitting proxy/Dockerfile into several stages that mock parts of the project, dependencies may be built and cached in Docker such that changes to the proxy only require building the conduit-proxy crate. Furthermore, proxy/Dockerfile now runs the proxy's tests before producing an artifact, unless the ` PROXY_SKIP_TESTS` build-arg is set and not-empty. The `PROXY_UNOPTIMIZED` build-arg has been added to support quicker, debug-friendly builds. |
||
---|---|---|
.. | ||
controller-grpc | ||
convert | ||
futures-mpsc-lossy | ||
router | ||
src | ||
tests | ||
Cargo.toml | ||
Dockerfile |