update prebuilt docker container (#19767)
* update prebuilt container
* fix build
* revert that
old-commit-hash: b2f82717f4
commatwo_master
parent
2e7627e2ed
commit
5839e89174
1 changed files with 24 additions and 20 deletions
@ -1,28 +1,32 @@ |
|||||||
FROM commaai/openpilot-base:latest |
FROM commaai/openpilot-base:latest |
||||||
|
|
||||||
ENV PYTHONUNBUFFERED 1 |
ENV PYTHONUNBUFFERED 1 |
||||||
ENV PYTHONPATH /tmp/openpilot:${PYTHONPATH} |
|
||||||
|
|
||||||
RUN mkdir -p /tmp/openpilot |
ENV OPENPILOT_PATH /home/batman/openpilot/ |
||||||
|
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH} |
||||||
|
|
||||||
COPY SConstruct \ |
RUN mkdir -p ${OPENPILOT_PATH} |
||||||
.pylintrc \ |
WORKDIR ${OPENPILOT_PATH} |
||||||
.pre-commit-config.yaml \ |
|
||||||
/tmp/openpilot/ |
|
||||||
|
|
||||||
COPY ./pyextra /tmp/openpilot/pyextra |
COPY Pipfile Pipfile.lock $OPENPILOT_PATH |
||||||
COPY ./phonelibs /tmp/openpilot/phonelibs |
RUN pip install --no-cache-dir pipenv==2020.8.13 && \ |
||||||
COPY ./site_scons /tmp/openpilot/site_scons |
pipenv install --system --deploy --dev --clear && \ |
||||||
COPY ./laika /tmp/openpilot/laika |
pip uninstall -y pipenv |
||||||
COPY ./laika_repo /tmp/openpilot/laika_repo |
|
||||||
COPY ./rednose /tmp/openpilot/rednose |
COPY SConstruct ${OPENPILOT_PATH} |
||||||
COPY ./tools /tmp/openpilot/tools |
|
||||||
COPY ./release /tmp/openpilot/release |
COPY ./pyextra ${OPENPILOT_PATH}/pyextra |
||||||
COPY ./common /tmp/openpilot/common |
COPY ./phonelibs ${OPENPILOT_PATH}/phonelibs |
||||||
COPY ./opendbc /tmp/openpilot/opendbc |
COPY ./site_scons ${OPENPILOT_PATH}/site_scons |
||||||
COPY ./cereal /tmp/openpilot/cereal |
COPY ./laika ${OPENPILOT_PATH}/laika |
||||||
COPY ./panda /tmp/openpilot/panda |
COPY ./laika_repo ${OPENPILOT_PATH}/laika_repo |
||||||
COPY ./selfdrive /tmp/openpilot/selfdrive |
COPY ./rednose ${OPENPILOT_PATH}/rednose |
||||||
|
COPY ./tools ${OPENPILOT_PATH}/tools |
||||||
|
COPY ./release ${OPENPILOT_PATH}/release |
||||||
|
COPY ./common ${OPENPILOT_PATH}/common |
||||||
|
COPY ./opendbc ${OPENPILOT_PATH}/opendbc |
||||||
|
COPY ./cereal ${OPENPILOT_PATH}/cereal |
||||||
|
COPY ./panda ${OPENPILOT_PATH}/panda |
||||||
|
COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive |
||||||
|
|
||||||
WORKDIR /tmp/openpilot |
|
||||||
RUN scons -j$(nproc) |
RUN scons -j$(nproc) |
||||||
|
Loading…
Reference in new issue