mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-15 22:32:11 +08:00
4012d181e1
date: 2024-03-17T10:14:38 master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
29 lines
898 B
Docker
29 lines
898 B
Docker
FROM ghcr.io/commaai/openpilot-base:latest
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
ENV OPENPILOT_PATH /home/batman/openpilot
|
|
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
|
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
WORKDIR ${OPENPILOT_PATH}
|
|
|
|
COPY SConstruct ${OPENPILOT_PATH}
|
|
|
|
COPY ./openpilot ${OPENPILOT_PATH}/openpilot
|
|
COPY ./third_party ${OPENPILOT_PATH}/third_party
|
|
COPY ./site_scons ${OPENPILOT_PATH}/site_scons
|
|
COPY ./rednose ${OPENPILOT_PATH}/rednose
|
|
COPY ./rednose_repo/site_scons ${OPENPILOT_PATH}/rednose_repo/site_scons
|
|
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
|
|
COPY ./system ${OPENPILOT_PATH}/system
|
|
COPY ./body ${OPENPILOT_PATH}/body
|
|
|
|
RUN scons --cache-readonly -j$(nproc)
|