-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (33 loc) · 791 Bytes
/
Dockerfile
File metadata and controls
38 lines (33 loc) · 791 Bytes
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
FROM python:3.12-slim
# Install system dependencies
RUN apt update && apt install -y \
git \
git-lfs \
zlib1g-dev \
libeigen3-dev \
ffmpeg \
libglfw3-dev \
llvm \
libssl-dev \
libzmq3-dev \
gcc-arm-none-eabi \
portaudio19-dev \
gcc-13 \
g++ \
clang \
libssl-dev \
curl \
libgdal-dev \
jq \
gh \
&& rm -rf /var/lib/apt/lists/*
# Install uv and create virtual environment
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:/root/.local/bin:$PATH"
# Set working directory
WORKDIR /__w/autonomy/autonomy
# Copy dependencies
COPY pyproject.toml uv.lock ./
# Install dependencies
RUN bash -c ". /opt/venv/bin/activate && uv sync --active --all-extras"