now base ubuntu is ok

This commit is contained in:
Dict Xiong 2023-04-28 17:45:57 +08:00
parent cc10132cd3
commit 9cf9efbdb7

View File

@ -1,7 +1,9 @@
FROM docker.io/ubuntu:22.04 FROM docker.io/ubuntu:22.04
# Install dependencies # Install dependencies
RUN apt-get update -y && apt-get install -yq build-essential cmake \ RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
openssh-server git-all sudo ssh sshpass pciutils python3 python3-dev \ && sed -i "s@http://.*archive.ubuntu.com@http://192.168.16.201/mirrors@g" /etc/apt/sources.list \
python3-pip curl ca-certificates \ && 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/* && rm -rf /var/lib/apt/list/*