19 lines
698 B
Docker
19 lines
698 B
Docker
FROM stereolabs/zed:5.1-gl-devel-cuda12.8-ubuntu24.04
|
|
|
|
# Use USTC mirrors for faster access in China.
|
|
RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|https://mirrors.ustc.edu.cn/ubuntu/|g' /etc/apt/sources.list \
|
|
&& sed -i 's|http://security.ubuntu.com/ubuntu/|https://mirrors.ustc.edu.cn/ubuntu/|g' /etc/apt/sources.list \
|
|
&& mkdir -p /etc/pip \
|
|
&& printf "%s\n" \
|
|
"[global]" \
|
|
"index-url = https://pypi.mirrors.ustc.edu.cn/simple" \
|
|
"trusted-host = pypi.mirrors.ustc.edu.cn" \
|
|
> /etc/pip.conf
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
cmake \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|