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,8 +43,9 @@ RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
|
|||
fi
|
||||
|
||||
# Build gRPC bindings, leaving the proxy mocked out.
|
||||
COPY proto proto
|
||||
COPY proxy/controller-grpc proxy/controller-grpc
|
||||
COPY proto/proxy proto/proxy
|
||||
COPY proto/common proto/common
|
||||
COPY proxy/controller-grpc proxy/controller-grpc
|
||||
RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
|
||||
then cargo build -p conduit-proxy-controller-grpc --features=arbitrary --locked ; \
|
||||
else cargo build -p conduit-proxy-controller-grpc --features=arbitrary --locked --release ; \
|
||||
|
|
Loading…
Reference in New Issue