10 lines
461 B
Docker
10 lines
461 B
Docker
FROM docker.io/ubuntu:22.04
|
|
|
|
# Install dependencies
|
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
|
&& sed -i "s@http://.*archive.ubuntu.com@http://192.168.16.201/mirrors@g" /etc/apt/sources.list \
|
|
&& apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -yq \
|
|
build-essential cmake openssh-server git-all sudo ssh sshpass pciutils \
|
|
python3 python3-dev python3-pip curl ca-certificates \
|
|
&& rm -rf /var/lib/apt/list/*
|