mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-02 09:03:53 +08:00
* Update ref * Compiles * compiles * Refactor rest of libs * import all * small fiex * cleanup import * Need msgq simlink too * Add to openpilot docker too * try repo * Updates * Fix lint * fix docs * Try blank slate * Revert "Try blank slate" This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d. * Maybe scons needs this to clear cache * fix tests * Disable test for now * Update SConstruct Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * Fix whitespace * Write skip normal * small fixes * add test path * Revert repo * linting * whitespace * Bump msgq --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
40 lines
1.4 KiB
Docker
40 lines
1.4 KiB
Docker
FROM ghcr.io/commaai/openpilot-base:latest
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
tmux \
|
|
vim \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# get same tmux config used on NEOS for debugging
|
|
RUN cd $HOME && \
|
|
curl -O https://raw.githubusercontent.com/commaai/eon-neos-builder/master/devices/eon/home/.tmux.conf
|
|
|
|
ENV OPENPILOT_PATH /tmp/openpilot
|
|
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
|
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
WORKDIR ${OPENPILOT_PATH}
|
|
|
|
COPY SConstruct ${OPENPILOT_PATH}
|
|
|
|
COPY ./openpilot ${OPENPILOT_PATH}/openpilot
|
|
COPY ./body ${OPENPILOT_PATH}/body
|
|
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 ./common ${OPENPILOT_PATH}/common
|
|
COPY ./opendbc ${OPENPILOT_PATH}/opendbc
|
|
COPY ./cereal ${OPENPILOT_PATH}/cereal
|
|
COPY ./msgq_repo ${OPENPILOT_PATH}/msgq_repo
|
|
COPY ./msgq ${OPENPILOT_PATH}/msgq
|
|
COPY ./panda ${OPENPILOT_PATH}/panda
|
|
COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
|
|
COPY ./system ${OPENPILOT_PATH}/system
|
|
COPY ./tools ${OPENPILOT_PATH}/tools
|
|
COPY ./release ${OPENPILOT_PATH}/release
|
|
|
|
RUN --mount=type=bind,source=.ci_cache/scons_cache,target=/tmp/scons_cache,rw scons -j$(nproc) --cache-readonly
|
|
|
|
RUN python -c "from openpilot.selfdrive.test.helpers import set_params_enabled; set_params_enabled()"
|