From 4726288d75fe6a808c3b39df5ca064f583cc9e58 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Wed, 3 May 2023 16:01:01 -0700 Subject: [PATCH] docker: copy body submodule (#28094) Building `Dockerfile.openpilot` fails with error `missing file body/board/SConscript` as the body submodule isn't copied This image isn't built in CI old-commit-hash: 48b427bd3dc07943b398b0c25d326d46ebd8a12f --- Dockerfile.openpilot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.openpilot b/Dockerfile.openpilot index acc0fcc784..51907b7a44 100644 --- a/Dockerfile.openpilot +++ b/Dockerfile.openpilot @@ -2,7 +2,7 @@ FROM ghcr.io/commaai/openpilot-base:latest ENV PYTHONUNBUFFERED 1 -ENV OPENPILOT_PATH /home/batman/openpilot/ +ENV OPENPILOT_PATH /home/batman/openpilot ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH} RUN mkdir -p ${OPENPILOT_PATH} @@ -23,5 +23,6 @@ COPY ./cereal ${OPENPILOT_PATH}/cereal COPY ./panda ${OPENPILOT_PATH}/panda COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive COPY ./system ${OPENPILOT_PATH}/system +COPY ./body ${OPENPILOT_PATH}/body RUN scons --cache-readonly -j$(nproc)