mirror of https://github.com/linkerd/linkerd2.git
Reduce proto dependencies in proxy/Dockerfile (#765)
Reduce the dependencies on files under proto/ to eliminate Docker detecting false dependencies that trigger rebuilds. Signed-off-by: Brian Smith <brian@briansmith.org>
This commit is contained in:
parent
77fb6d3709
commit
0c37067554
|
@ -43,7 +43,8 @@ RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build gRPC bindings, leaving the proxy mocked out.
|
# Build gRPC bindings, leaving the proxy mocked out.
|
||||||
COPY proto proto
|
COPY proto/proxy proto/proxy
|
||||||
|
COPY proto/common proto/common
|
||||||
COPY proxy/controller-grpc proxy/controller-grpc
|
COPY proxy/controller-grpc proxy/controller-grpc
|
||||||
RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
|
RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
|
||||||
then cargo build -p conduit-proxy-controller-grpc --features=arbitrary --locked ; \
|
then cargo build -p conduit-proxy-controller-grpc --features=arbitrary --locked ; \
|
||||||
|
|
Loading…
Reference in New Issue