mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-10 15:32:10 +08:00
35bd9d9fb3
e92e74311 whitespace after comma 5d33ec0f1 two spaces before inline comment 73685b609 fix linter complaint about whitespace around operators b15edbc1b fix linter complaint about inline comment whitespace 4ac30725b clean up blank lines 0430bfa5c run pre commit in ci (#268) 2ade6eeba Subaru DBC update (#242) d1185a53e Toyota ACC_CONTROL PERMIT_BRAKING and ACCEL_CMT_ALT speculated definition (#258) e6766bbbb Update SCC ECU Messages for OP Long Dev. (#267) b49b9ee75 Add DAW (#175) 3b5cccba0 Fixed up cell voltage readings and added more commands (#220) 8b0449327 Mazda: add missing static bits, tidy up endianness (#263) 124719992 Add BSD_RCTA to Subaru Global (#244) af1821f84 fix endianness in signal from new hyundai message 7ef41084b Add gas/brake message for hyundai EVs, from @TK211X 472aabb4f Subaru preglobal update (#260) 45c0d9ecc fix lta message (#262) 11343c108 Library cleanup (#261) 67d70cb86 Fix Toyota message size git-subtree-dir: opendbc git-subtree-split: e92e74311a7ed66922629bec4b8cee7c8db1b9f0
26 lines
885 B
Docker
26 lines
885 B
Docker
from ubuntu:16.04
|
|
|
|
RUN apt-get update && apt-get install -y libzmq3-dev capnproto libcapnp-dev clang wget git autoconf libtool curl make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl
|
|
|
|
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
|
|
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
|
|
RUN pyenv install 3.7.3
|
|
RUN pyenv global 3.7.3
|
|
RUN pyenv rehash
|
|
|
|
COPY requirements.txt /tmp/
|
|
RUN pip install -r /tmp/requirements.txt
|
|
RUN pip install pre-commit==2.4.0 pylint==2.5.2
|
|
|
|
ENV PYTHONPATH=/project
|
|
|
|
WORKDIR /project
|
|
# TODO: Add tag to cereal
|
|
RUN git clone https://github.com/commaai/cereal.git /project/cereal
|
|
|
|
COPY SConstruct .
|
|
COPY . /project/opendbc
|
|
|
|
RUN rm -rf /project/opendbc/.git
|
|
RUN scons -c && scons -j$(nproc)
|