Skip to content

Commit

Permalink
Openpilot-tools is deprecated (commaai#484)
Browse files Browse the repository at this point in the history
* openpilot-tools is deprecated

* Add pycurl

* Add dependency for pycurl

* Add tenacity

* add atomicwrites
  • Loading branch information
pd0wm authored Apr 7, 2020
1 parent da8e00f commit fe73dcc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
24 changes: 19 additions & 5 deletions tests/safety_replay/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y make clang python python-pip git libarchive-dev libusb-1.0-0 locales curl zlib1g-dev libffi-dev bzip2 libssl-dev libbz2-dev
RUN apt-get update && apt-get install -y \
bzip2 \
clang \
curl \
git \
libarchive-dev \
libbz2-dev \
libcurl4-openssl-dev \
libffi-dev \
libssl-dev \
libusb-1.0-0 \
locales \
make \
python \
python-pip \
zlib1g-dev

RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
Expand All @@ -21,14 +36,13 @@ RUN pip install -r requirements_extra.txt
COPY tests/safety_replay/install_capnp.sh install_capnp.sh
RUN ./install_capnp.sh

RUN mkdir /openpilot
RUN git clone https://github.com/commaai/openpilot.git || true
WORKDIR /openpilot
RUN git pull && git checkout f9257fc75f68c673f9e433985fbe739f23310bb4

RUN git clone https://github.com/commaai/cereal.git || true
WORKDIR /openpilot/cereal
RUN git pull && git checkout 35040fe6bb9ebc31d38e98faa64d5ec4093ce3d5
COPY . /openpilot/panda

WORKDIR /openpilot/panda/tests/safety_replay
RUN git clone https://github.com/commaai/openpilot-tools.git tools || true
WORKDIR tools
RUN git checkout d69c6bc85f221766305ec53956e9a1d3bf283160
3 changes: 3 additions & 0 deletions tests/safety_replay/requirements_extra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ aenum
subprocess32
libarchive
pycapnp
pycurl
tenacity
atomicwrites

0 comments on commit fe73dcc

Please sign in to comment.