File: Dockerfile

package info (click to toggle)
pygments 2.19.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,668 kB
  • sloc: python: 105,287; javascript: 238; makefile: 142; sh: 84; lisp: 74
file content (20 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Dockerfile for building Pyodide with a Pygmenets version from the current checkout.
# This is used by the `pyodide` tox environment (see /tox.ini).
FROM ghcr.io/pyodide/pyodide:0.20.0 AS build-stage

WORKDIR pyodide

# Copy new meta with path to local Pygments instead of pypi url.
COPY doc/pyodide/meta.yaml packages/Pygments/

COPY . /pygments

# Add Pygments to the Pyodide build.
ENV PYODIDE_PACKAGES=Pygments

# Build Pyodide.
RUN make

FROM scratch AS export-stage

COPY --from=build-stage /src/pyodide/build /