输入图像描述这里我想下载机器人框架在ubuntu的dockerfile,但我没有找到。我能做什么?
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install software-properties-common -y
RUN add-apt-repository --yes ppa:ansible/ansible-2.10
RUN apt-get install ansible -y
RUN add-apt-repository -y ppa:jblgf0/python
RUN apt-get update
RUN apt-get install python3.6 -y
RUN apt-get install python-requests -y
RUN apt-get install python-pip -y
RUN pip install --upgrade pip
RUN pip install robotframework
RUN pip install --upgrade robotframework-sshlibrary
ENTRYPOINT [/bin/bash]
输入图片描述
您请求的版本有问题。例如,pip
安装失败。而且python3.6
是旧版本。你应该更新你的Dockerfile来使用Ubuntu LTS,它目前的版本是22.0.4。