init
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
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/*
|
||||
Reference in New Issue
Block a user