Sign inSign up

claywong/python

By claywong

Updated over 3 years ago

python 的各种版本

Image
0

74

claywong/python repository overview

FROM ubuntu:22.04

RUN apt update && apt install -y ca-certificates

RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list RUN sed -i s@/security.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list RUN sed -i 's/http://ports.ubuntu.com/https://mirrors.aliyun.com/g' /etc/apt/sources.list

RUN apt-get clean

RUN apt-get update
&& apt-get install -y python3-pip python3-dev
&& cd /usr/local/bin
&& ln -s /usr/bin/python3 python
&& pip3 --no-cache-dir install --upgrade pip
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install playwright~=1.31.1 RUN playwright install --with-deps

Tag summary

Content type

Image

Digest

sha256:a2b57174e

Size

776 MB

Last updated

over 3 years ago

docker pull claywong/python:ubuntu-22.04-playwright