mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 13:32:04 +08:00
c5d5c5d1f3
date: 2025-10-24T00:30:59 master commit: 405631baf9685e171a0dd19547cb763f1b163d18
15 lines
340 B
Docker
15 lines
340 B
Docker
FROM ghcr.io/commaai/openpilot-base:latest
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV OPENPILOT_PATH=/home/batman/openpilot
|
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
WORKDIR ${OPENPILOT_PATH}
|
|
|
|
COPY . ${OPENPILOT_PATH}/
|
|
|
|
ENV UV_BIN="/home/batman/.local/bin/"
|
|
ENV PATH="$UV_BIN:$PATH"
|
|
RUN UV_PROJECT_ENVIRONMENT=$VIRTUAL_ENV uv run scons --cache-readonly -j$(nproc)
|