Files
dragonpilot/Dockerfile.openpilot

43 lines
1.1 KiB
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
2019-01-23 15:34:52 -08: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 \
libssl-dev \
ocl-icd-libopencl1 \
ocl-icd-opencl-dev \
opencl-headers
RUN pip install numpy==1.11.2 scipy==0.18.1 matplotlib==2.1.2
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
COPY ./.pylintrc /tmp/openpilot/.pylintrc
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
COPY ./panda /tmp/openpilot/panda
2017-09-30 03:07:27 -07:00
2017-10-31 02:27:39 -07:00
RUN mkdir -p /tmp/openpilot/selfdrive/test/out
2018-09-25 00:13:41 -07:00
RUN make -C /tmp/openpilot/selfdrive/controls/lib/longitudinal_mpc clean
RUN make -C /tmp/openpilot/selfdrive/controls/lib/lateral_mpc clean