Sign inSign up

asowder3943/python-playwright

By asowder3943

•Updated about 4 years ago

Ubuntu image with python and playwright installed. Tested on Apple M1 running Docker Desktop 4.11.1

Image
0

876

asowder3943/python-playwright repository overview

⁠Python Playwright

Base image for Python Playwright running in Docker on AMD64

⁠Dependencies

Extends ubuntu:focal⁠ Chosen based on Playwright Compatability Documentation⁠

⁠Dockerfile

# Ubuntu Focal is officially supported by the playwright project
# https://playwright.dev/python/docs/docker#base-images
# As of last testing 20220819 (jammy) 22.04 was failing for my use case
FROM ubuntu:focal

# Update Apt repositories
RUN apt-get update 

# Install and configure Python
RUN apt-get -y --no-install-recommends install python3 python3-pip

# Install python application dependencies
RUN pip3 install --upgrade pip
RUN pip3 install playwright
RUN playwright install
RUN playwright install-deps

Tag summary

Content type

Image

Digest

sha256:af54b0f03…

Size

616.8 MB

Last updated

about 4 years ago

docker pull asowder3943/python-playwright