2021-02-08 18:53:47 +08:00
|
|
|
FROM ghcr.io/commaai/openpilot-base:latest
|
2020-08-24 09:18:19 +08:00
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
|
2023-05-04 07:01:01 +08:00
|
|
|
ENV OPENPILOT_PATH /home/batman/openpilot
|
2021-01-15 13:31:51 +08:00
|
|
|
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
|
2020-08-24 09:18:19 +08:00
|
|
|
|
2021-01-15 13:31:51 +08:00
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
|
|
WORKDIR ${OPENPILOT_PATH}
|
2020-08-24 09:18:19 +08:00
|
|
|
|
2021-01-15 13:31:51 +08:00
|
|
|
COPY SConstruct ${OPENPILOT_PATH}
|
|
|
|
|
2023-08-21 11:49:55 +08:00
|
|
|
COPY ./openpilot ${OPENPILOT_PATH}/openpilot
|
2021-10-08 07:32:44 +08:00
|
|
|
COPY ./third_party ${OPENPILOT_PATH}/third_party
|
2021-01-15 13:31:51 +08:00
|
|
|
COPY ./site_scons ${OPENPILOT_PATH}/site_scons
|
|
|
|
COPY ./rednose ${OPENPILOT_PATH}/rednose
|
2023-11-23 05:25:29 +08:00
|
|
|
COPY ./rednose_repo/site_scons ${OPENPILOT_PATH}/rednose_repo/site_scons
|
2021-01-15 13: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
|
|
|
|
COPY ./panda ${OPENPILOT_PATH}/panda
|
|
|
|
COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
|
2022-06-03 08:02:25 +08:00
|
|
|
COPY ./system ${OPENPILOT_PATH}/system
|
2023-05-04 07:01:01 +08:00
|
|
|
COPY ./body ${OPENPILOT_PATH}/body
|
2021-01-01 06:57:01 +08:00
|
|
|
|
2022-06-13 09:00:00 +08:00
|
|
|
RUN scons --cache-readonly -j$(nproc)
|