From e816de6ba262ab618bbb7eeb3fc7d42b2f7f4775 Mon Sep 17 00:00:00 2001 From: Adeeb <8762862+quillford@users.noreply.github.com> Date: Fri, 21 Feb 2020 17:08:53 -0800 Subject: [PATCH] Optimize copy order in Dockerfile for better caching (#1150) --- Dockerfile.openpilot | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile.openpilot b/Dockerfile.openpilot index 2f1e5750..bae9a4ad 100644 --- a/Dockerfile.openpilot +++ b/Dockerfile.openpilot @@ -71,18 +71,18 @@ COPY ./flake8_openpilot.sh /tmp/openpilot/ COPY ./pylint_openpilot.sh /tmp/openpilot/ COPY ./.pylintrc /tmp/openpilot/ -COPY ./release /tmp/openpilot/release -COPY ./common /tmp/openpilot/common -COPY ./cereal /tmp/openpilot/cereal -COPY ./opendbc /tmp/openpilot/opendbc -COPY ./selfdrive /tmp/openpilot/selfdrive -COPY ./phonelibs /tmp/openpilot/phonelibs COPY ./pyextra /tmp/openpilot/pyextra -COPY ./panda /tmp/openpilot/panda +COPY ./phonelibs /tmp/openpilot/phonelibs COPY ./external /tmp/openpilot/external -COPY ./tools /tmp/openpilot/tools COPY ./laika /tmp/openpilot/laika COPY ./laika_repo /tmp/openpilot/laika_repo +COPY ./tools /tmp/openpilot/tools +COPY ./release /tmp/openpilot/release +COPY ./common /tmp/openpilot/common +COPY ./opendbc /tmp/openpilot/opendbc +COPY ./cereal /tmp/openpilot/cereal +COPY ./panda /tmp/openpilot/panda +COPY ./selfdrive /tmp/openpilot/selfdrive COPY SConstruct /tmp/openpilot/SConstruct