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
|
|
|
|
2024-06-19 08:28:52 +08:00
|
|
|
COPY . ${OPENPILOT_PATH}/
|
2021-01-01 06:57:01 +08:00
|
|
|
|
2022-06-13 09:00:00 +08:00
|
|
|
RUN scons --cache-readonly -j$(nproc)
|