forked from facontidavide/PlotJuggler
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Dockerfile
50 lines (45 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
libbfd-dev \
libdwarf-dev \
libzmq3-dev \
libdw-dev \
python3 \
python3-dev \
python3-pip \
python-is-python3 \
wget \
software-properties-common \
qt5-default \
qtbase5-dev \
libqt5svg5-dev \
libqt5websockets5-dev \
libqt5opengl5-dev \
libqt5x11extras5-dev \
# opendbc/cereal
capnproto \
curl \
git \
python-openssl \
libbz2-dev \
libcapnp-dev \
libssl-dev \
libffi-dev \
libreadline-dev \
libsqlite3-dev \
clang \
ocl-icd-opencl-dev \
opencl-headers \
portaudio19-dev
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
RUN uv venv --python 3.11.4
RUN uv pip install pkgconfig jinja2 Cython
ENV PYTHONPATH /tmp/plotjuggler/3rdparty
COPY 3rdparty/openpilot/opendbc_repo/pyproject.toml /tmp/opendbc_repo/pyproject.toml
COPY 3rdparty/openpilot/pyproject.toml /tmp/openpilot/pyproject.toml
RUN uv pip install --no-cache-dir /tmp/opendbc_repo
RUN uv pip install --no-cache-dir /tmp/openpilot