2021-02-08 11:53:47 +01:00
|
|
|
FROM ghcr.io/commaai/openpilot-base:latest
|
2020-08-23 18:18:19 -07:00
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
|
|
2023-05-03 16:01:01 -07:00
|
|
|
ENV OPENPILOT_PATH /home/batman/openpilot
|
2021-01-14 21:31:51 -08:00
|
|
|
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
|
2020-08-23 18:18:19 -07:00
|
|
|
|
2021-01-14 21:31:51 -08:00
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
|
|
|
WORKDIR ${OPENPILOT_PATH}
|
2020-08-23 18:18:19 -07:00
|
|
|
|
2021-01-14 21:31:51 -08:00
|
|
|
COPY SConstruct ${OPENPILOT_PATH}
|
|
|
|
|
|
2023-08-20 20:49:55 -07:00
|
|
|
COPY ./openpilot ${OPENPILOT_PATH}/openpilot
|
2021-10-07 16:32:44 -07:00
|
|
|
COPY ./third_party ${OPENPILOT_PATH}/third_party
|
2021-01-14 21:31:51 -08:00
|
|
|
COPY ./site_scons ${OPENPILOT_PATH}/site_scons
|
|
|
|
|
COPY ./rednose ${OPENPILOT_PATH}/rednose
|
2023-11-22 13:25:29 -08:00
|
|
|
COPY ./rednose_repo/site_scons ${OPENPILOT_PATH}/rednose_repo/site_scons
|
2021-01-14 21:31:51 -08:00
|
|
|
COPY ./tools ${OPENPILOT_PATH}/tools
|
|
|
|
|
COPY ./release ${OPENPILOT_PATH}/release
|
|
|
|
|
COPY ./common ${OPENPILOT_PATH}/common
|
|
|
|
|
COPY ./opendbc ${OPENPILOT_PATH}/opendbc
|
|
|
|
|
COPY ./cereal ${OPENPILOT_PATH}/cereal
|
2024-06-06 14:31:56 -07:00
|
|
|
COPY ./msgq ${OPENPILOT_PATH}/msgq
|
2021-01-14 21:31:51 -08:00
|
|
|
COPY ./panda ${OPENPILOT_PATH}/panda
|
|
|
|
|
COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
|
2022-06-02 17:02:25 -07:00
|
|
|
COPY ./system ${OPENPILOT_PATH}/system
|
2023-05-03 16:01:01 -07:00
|
|
|
COPY ./body ${OPENPILOT_PATH}/body
|
2020-12-31 14:57:01 -08:00
|
|
|
|
2022-06-12 18:00:00 -07:00
|
|
|
RUN scons --cache-readonly -j$(nproc)
|