2022-06-02 18:26:12 -07:00
|
|
|
FROM ghcr.io/commaai/openpilot-base-cl:latest
|
2020-09-10 03:14:49 -07:00
|
|
|
|
2022-06-12 18:00:00 -07:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
|
tmux \
|
|
|
|
|
vim \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2020-09-10 03:14:49 -07:00
|
|
|
|
|
|
|
|
# get same tmux config used on NEOS for debugging
|
|
|
|
|
RUN cd $HOME && \
|
2022-01-10 11:43:18 -08:00
|
|
|
curl -O https://raw.githubusercontent.com/commaai/eon-neos-builder/master/devices/eon/home/.tmux.conf
|
2020-09-10 03:14:49 -07:00
|
|
|
|
2020-09-12 14:31:20 -07:00
|
|
|
ENV PYTHONPATH $HOME/openpilot:${PYTHONPATH}
|
2020-09-10 03:14:49 -07:00
|
|
|
RUN mkdir -p $HOME/openpilot
|
|
|
|
|
|
|
|
|
|
COPY SConstruct $HOME/openpilot/
|
|
|
|
|
|
2021-10-07 16:32:44 -07:00
|
|
|
COPY ./third_party $HOME/openpilot/third_party
|
2021-09-13 19:06:54 -07:00
|
|
|
COPY ./pyextra $HOME/openpilot/pyextra
|
2020-11-18 13:10:37 -08:00
|
|
|
COPY ./site_scons $HOME/openpilot/site_scons
|
2020-09-10 03:14:49 -07:00
|
|
|
COPY ./rednose $HOME/openpilot/rednose
|
2022-06-20 14:24:11 +02:00
|
|
|
COPY ./laika $HOME/openpilot/laika
|
2020-09-10 03:14:49 -07:00
|
|
|
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
|
2022-06-02 17:02:25 -07:00
|
|
|
COPY ./system $HOME/openpilot/system
|
2020-09-10 03:14:49 -07:00
|
|
|
COPY ./tools $HOME/openpilot/tools
|
|
|
|
|
|
|
|
|
|
WORKDIR $HOME/openpilot
|
2022-06-12 18:00:00 -07:00
|
|
|
RUN scons --cache-readonly -j12
|
2022-04-04 09:05:20 -07:00
|
|
|
|
|
|
|
|
RUN python -c "from selfdrive.test.helpers import set_params_enabled; set_params_enabled()"
|