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
This commit is contained in:
Cameron Clough
2023-05-03 16:01:01 -07:00
committed by GitHub
parent 1dd2bead76
commit 4726288d75

View File

@@ -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)