mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
f3f49b4661
old-commit-hash: 0362cfa7eea8bd526a45bb231d2fcd9114a9a11d
18 lines
720 B
Docker
18 lines
720 B
Docker
FROM ghcr.io/commaai/openpilot-base:latest
|
|
|
|
RUN apt update && apt install -y vim net-tools usbutils htop ripgrep tmux wget mesa-utils xvfb libxtst6 libxv1 libglu1-mesa libegl1-mesa gdb
|
|
RUN pip install ipython jupyter jupyterlab
|
|
|
|
RUN cd /tmp && \
|
|
ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
|
|
curl -L -o virtualgl.deb "https://downloads.sourceforge.net/project/virtualgl/3.1/virtualgl_3.1_$ARCH.deb" && \
|
|
dpkg -i virtualgl.deb
|
|
|
|
RUN usermod -aG video batman
|
|
|
|
USER batman
|
|
|
|
RUN cd $HOME && \
|
|
curl -O https://raw.githubusercontent.com/commaai/agnos-builder/master/userspace/home/.tmux.conf && \
|
|
curl -O https://raw.githubusercontent.com/commaai/agnos-builder/master/userspace/home/.vimrc
|