From e1d79684f784b59928c609a621a2a5c0a1eac057 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Fri, 17 Jan 2020 13:13:02 -0800 Subject: [PATCH] Tools is now in openpilot, and use prebuilt capnp old-commit-hash: dfded79673be670ba018b7623f7b59507e4bfaee --- Dockerfile.openpilot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile.openpilot b/Dockerfile.openpilot index 29d05c874..71fc00091 100644 --- a/Dockerfile.openpilot +++ b/Dockerfile.openpilot @@ -63,14 +63,12 @@ RUN cd /tmp && pipenv install --system --deploy # Install subset of dev dependencies needed for CI RUN pip install matplotlib==3.1.1 dictdiffer==0.8.0 fastcluster==1.1.25 aenum==2.2.1 scipy==1.3.1 lru-dict==1.1.6 tenacity==5.1.1 azure-common==1.1.23 azure-nspkg==3.0.2 azure-storage-blob==2.1.0 azure-storage-common==2.1.0 azure-storage-nspkg==3.1.0 pycurl==7.43.0.3 -COPY phonelibs/install_capnp.sh /tmp/install_capnp.sh -RUN /tmp/install_capnp.sh - -RUN git clone --branch v0.7 https://github.com/commaai/openpilot-tools.git /tmp/openpilot/tools - +ENV PATH="/tmp/openpilot/external/bin:${PATH}" ENV PYTHONPATH /tmp/openpilot:${PYTHONPATH} -COPY ./flake8_openpilot.sh /tmp/openpilot -COPY ./pylint_openpilot.sh /tmp/openpilot + +RUN mkdir -p /tmp/openpilot +COPY ./flake8_openpilot.sh /tmp/openpilot/ +COPY ./pylint_openpilot.sh /tmp/openpilot/ COPY ./.pylintrc /tmp/openpilot/ COPY ./release /tmp/openpilot/release @@ -81,6 +79,8 @@ COPY ./selfdrive /tmp/openpilot/selfdrive COPY ./phonelibs /tmp/openpilot/phonelibs COPY ./pyextra /tmp/openpilot/pyextra COPY ./panda /tmp/openpilot/panda +COPY ./external /tmp/openpilot/external +COPY ./tools /tmp/openpilot/tools COPY SConstruct /tmp/openpilot/SConstruct