From 0c37067554c3416a54139f6dbfb2f3db9f030a70 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Fri, 13 Apr 2018 14:49:55 -1000 Subject: [PATCH] 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 --- proxy/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proxy/Dockerfile b/proxy/Dockerfile index ec15ece01..6ba4bf5ae 100644 --- a/proxy/Dockerfile +++ b/proxy/Dockerfile @@ -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 ; \