split dockerfile into base image and CI image (#2066)
* split dockerfile into base image and CI
* doesn't exist yet
* fix path
* cache on this branch
* latest
* use cache
* don't double pull
old-commit-hash: a3f5643019
commatwo_master
parent
8f2111b889
commit
993b6b43ac
5 changed files with 53 additions and 44 deletions
@ -0,0 +1,24 @@ |
|||||||
|
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 |
||||||
|
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 |
Loading…
Reference in new issue