2020-08-23 19:18:19 -06:00
|
|
|
FROM commaai/openpilot-base:latest
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
ENV PYTHONPATH /tmp/openpilot:${PYTHONPATH}
|
|
|
|
|
|
|
|
RUN mkdir -p /tmp/openpilot
|
|
|
|
|
|
|
|
COPY SConstruct \
|
|
|
|
.pylintrc \
|
|
|
|
.pre-commit-config.yaml \
|
|
|
|
/tmp/openpilot/
|
|
|
|
|
|
|
|
COPY ./pyextra /tmp/openpilot/pyextra
|
|
|
|
COPY ./phonelibs /tmp/openpilot/phonelibs
|
2020-11-11 13:14:51 -07:00
|
|
|
COPY ./site_scons /tmp/openpilot/site_scons
|
2020-08-23 19:18:19 -06:00
|
|
|
COPY ./laika /tmp/openpilot/laika
|
|
|
|
COPY ./laika_repo /tmp/openpilot/laika_repo
|
|
|
|
COPY ./rednose /tmp/openpilot/rednose
|
|
|
|
COPY ./tools /tmp/openpilot/tools
|
|
|
|
COPY ./release /tmp/openpilot/release
|
|
|
|
COPY ./common /tmp/openpilot/common
|
|
|
|
COPY ./opendbc /tmp/openpilot/opendbc
|
|
|
|
COPY ./cereal /tmp/openpilot/cereal
|
|
|
|
COPY ./panda /tmp/openpilot/panda
|
|
|
|
COPY ./selfdrive /tmp/openpilot/selfdrive
|
2020-12-31 15:57:01 -07:00
|
|
|
|
|
|
|
WORKDIR /tmp/openpilot
|
|
|
|
RUN scons -j$(nproc)
|