From 1e55879c6720b4c3c5e17e2ee1daf8e73bd11d4b Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Mon, 26 Jul 2021 22:56:17 +0900 Subject: [PATCH] Copy TFLint plugins to the final stage (#1798) --- Dockerfile | 1 + Dockerfile-slim | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 28b6700a..db5e4a83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -424,6 +424,7 @@ COPY --from=base_image /lib/ /lib/ COPY --from=base_image /bin/ /bin/ COPY --from=base_image /node_modules/ /node_modules/ COPY --from=base_image /home/r-library /home/r-library +COPY --from=base_image /root/.tflint.d/ /root/.tflint.d/ COPY --from=clang-format-build /tmp/llvm-project/llvm/build/bin/clang-format /usr/bin/clang-format ######################################## diff --git a/Dockerfile-slim b/Dockerfile-slim index a2f6f21f..9f0ef707 100644 --- a/Dockerfile-slim +++ b/Dockerfile-slim @@ -359,6 +359,7 @@ COPY --from=base_image /lib/ /lib/ COPY --from=base_image /bin/ /bin/ COPY --from=base_image /node_modules/ /node_modules/ COPY --from=base_image /home/r-library /home/r-library +COPY --from=base_image /root/.tflint.d/ /root/.tflint.d/ COPY --from=clang-format-build /tmp/llvm-project/llvm/build/bin/clang-format /usr/bin/clang-format ########################################