Dockerfile.openpilot 871 B

12345678910111213141516171819202122232425262728
  1. FROM ghcr.io/commaai/openpilot-base:latest
  2. ENV PYTHONUNBUFFERED 1
  3. ENV OPENPILOT_PATH /home/batman/openpilot/
  4. ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
  5. RUN mkdir -p ${OPENPILOT_PATH}
  6. WORKDIR ${OPENPILOT_PATH}
  7. COPY SConstruct ${OPENPILOT_PATH}
  8. COPY ./pyextra ${OPENPILOT_PATH}/pyextra
  9. COPY ./third_party ${OPENPILOT_PATH}/third_party
  10. COPY ./site_scons ${OPENPILOT_PATH}/site_scons
  11. COPY ./laika ${OPENPILOT_PATH}/laika
  12. COPY ./laika_repo ${OPENPILOT_PATH}/laika_repo
  13. COPY ./rednose ${OPENPILOT_PATH}/rednose
  14. COPY ./tools ${OPENPILOT_PATH}/tools
  15. COPY ./release ${OPENPILOT_PATH}/release
  16. COPY ./common ${OPENPILOT_PATH}/common
  17. COPY ./opendbc ${OPENPILOT_PATH}/opendbc
  18. COPY ./cereal ${OPENPILOT_PATH}/cereal
  19. COPY ./panda ${OPENPILOT_PATH}/panda
  20. COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
  21. COPY ./system ${OPENPILOT_PATH}/system
  22. RUN scons --cache-readonly -j$(nproc)