Debian Codegraph @

doc/pyodide/Dockerfile.base

raw
1 # Base image for the Dockerfile.
2 # Published as ghcr.io/pygments/pyodide-base:VERSION
3
4 FROM ubuntu:25.04
5
6 RUN apt update && apt install -y python3 python3-pip
7 # Pin the version to avoid surprises...
8 RUN pip install --break-system-packages pyodide-build==0.30.5
9 RUN pyodide xbuildenv install 0.28.1
10
11 RUN apt install -y git
12
13 RUN git clone https://github.com/emscripten-core/emsdk /emsdk
14 RUN cd emsdk && PYODIDE_EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) && ./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION} && ./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}