12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- FROM docker.m.daocloud.io/ubuntu:20.04
- ENV DEBIAN_FRONTEND=noninteractive
- RUN echo "Debug Tools:" \
- && apt-get update \
- && apt-get install -y inetutils-ping iproute2 net-tools wget unzip git bash
- RUN echo "Install Python v3.8:" \
- && apt-get update \
- && apt-get install -y \
- python3-dev \
- python3-pip \
- python3-setuptools \
- python3-wheel \
- && pip3 config set global.index-url https://mirror.baidu.com/pypi/simple \
- && pip3 config set global.extra-index-url https://pypi.tuna.tsinghua.edu.cn/simple \
- && pip3 install --upgrade --quiet pip setuptools \
- && python3 --version
- RUN echo "部署:安装protobuf" \
- && apt update \
- && apt install -y protobuf-compiler python3-protobuf \
- && protoc --version
|