mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 17:03:58 +08:00
* run simulator test in ci * block navd process * block ui * fix jenkins * build docker * remove tty * remove tty for carla * detach carla_sim * more retries * only build once * add more time for bridge * cleanup * use qt offscreen * expose to docker * block ui * use new dockerimage * fix * from ubuntu20.04 * install curl * add ssh * add locales * noninteractive * syntax * use base * smaller image * add git + git lfs * kill carla * run in parallel * fix missing agents * default agent? * little cleanup * default doesn't work * not in ci * fix path * fix path * new msg Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
33 lines
1018 B
Docker
33 lines
1018 B
Docker
FROM ghcr.io/commaai/openpilot-base-cl: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 PYTHONPATH $HOME/openpilot:${PYTHONPATH}
|
|
RUN mkdir -p $HOME/openpilot
|
|
|
|
COPY SConstruct $HOME/openpilot/
|
|
|
|
COPY ./third_party $HOME/openpilot/third_party
|
|
COPY ./pyextra $HOME/openpilot/pyextra
|
|
COPY ./site_scons $HOME/openpilot/site_scons
|
|
COPY ./rednose $HOME/openpilot/rednose
|
|
COPY ./common $HOME/openpilot/common
|
|
COPY ./opendbc $HOME/openpilot/opendbc
|
|
COPY ./cereal $HOME/openpilot/cereal
|
|
COPY ./panda $HOME/openpilot/panda
|
|
COPY ./selfdrive $HOME/openpilot/selfdrive
|
|
COPY ./system $HOME/openpilot/system
|
|
COPY ./tools $HOME/openpilot/tools
|
|
|
|
WORKDIR $HOME/openpilot
|
|
RUN scons -j12
|
|
|
|
RUN python -c "from selfdrive.test.helpers import set_params_enabled; set_params_enabled()"
|