Ubuntu image with python and playwright installed. Tested on Apple M1 running Docker Desktop 4.11.1
876
Base image for Python Playwright running in Docker on AMD64
Extends ubuntu:focal Chosen based on Playwright Compatability Documentation
# 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
Content type
Image
Digest
sha256:af54b0f03…
Size
616.8 MB
Last updated
about 4 years ago
docker pull asowder3943/python-playwright