Files
onepilot/tools/laptop_device_build/Dockerfile
T
firestar5683 d0e1db6766 StarPilot
2026-03-22 03:15:05 -05:00

27 lines
815 B
Docker

FROM ghcr.io/commaai/openpilot-base-aarch64:latest
ENV PYTHONUNBUFFERED=1
ENV UV_LINK_MODE=copy
WORKDIR /work
# Keep this image minimal; dependency resolution is done by uv inside the workspace.
# rsync/ssh-client are needed for optional sysroot sync from a comma device.
RUN apt-get update && apt-get install -y --no-install-recommends \
rsync \
openssh-client \
e2fsprogs \
android-sdk-libsparse-utils \
qemu-user-static \
gcc-aarch64-linux-gnu \
g++-aarch64-linux-gnu \
qtbase5-private-dev \
python3-pip \
xz-utils \
git \
&& rm -rf /var/lib/apt/lists/*
RUN /usr/bin/python3 -m pip install --no-cache-dir --break-system-packages uv
# Fix for "dubious ownership" git errors when mounting folders on Linux hosts.
RUN git config --global --add safe.directory /work