Files
dragonpilot/Dockerfile.openpilot

20 lines
683 B
Docker
Raw Normal View History

2017-07-28 01:24:39 -07:00
FROM ubuntu:16.04
2016-12-12 17:47:46 -08:00
ENV PYTHONUNBUFFERED 1
2017-09-30 03:07:27 -07:00
RUN apt-get update && apt-get install -y build-essential clang vim screen wget bzip2 git libglib2.0-0 python-pip capnproto libcapnp-dev libzmq5-dev libffi-dev libusb-1.0-0
2017-07-28 01:24:39 -07:00
RUN pip install numpy==1.11.2 scipy==0.18.1 matplotlib
2016-12-12 17:47:46 -08:00
COPY requirements_openpilot.txt /tmp/
RUN pip install -r /tmp/requirements_openpilot.txt
ENV PYTHONPATH /tmp/openpilot:$PYTHONPATH
2017-09-30 03:07:27 -07:00
COPY ./common /tmp/openpilot/common
COPY ./cereal /tmp/openpilot/cereal
COPY ./opendbc /tmp/openpilot/opendbc
COPY ./selfdrive /tmp/openpilot/selfdrive
COPY ./phonelibs /tmp/openpilot/phonelibs
COPY ./pyextra /tmp/openpilot/pyextra
2017-10-31 02:27:39 -07:00
RUN mkdir -p /tmp/openpilot/selfdrive/test/out