Lines Matching +full:skia +full:- +full:wasm +full:- +full:release
1 # Dockerfile for building the WASM libraries used by jsfiddle.skia.org and debugger.skia.org
2 FROM gcr.io/skia-public/emsdk-release:prod as builder
6 && mkdir -p /tmp/skia \
7 && cd /tmp/skia \
8 && /tmp/depot_tools/fetch skia
10 RUN cd /tmp/skia/skia \
11 && python tools/git-sync-deps \
12 && ./bin/fetch-gn
14 # PathKit should be in /tmp/skia/skia/out/pathkit/
15 RUN /tmp/skia/skia/modules/pathkit/compile.sh
17 # CanvasKit should be in /tmp/skia/skia/out/canvaskit_wasm
18 RUN /tmp/skia/skia/modules/canvaskit/compile.sh
20 # Debugger should be in /tmp/skia/skia/out/debugger_wasm
21 RUN /tmp/skia/skia/experimental/wasm-skp-debugger/compile.sh
23 RUN cd /tmp/skia/skia && git rev-parse HEAD > /tmp/VERSION
26 # Multi-stage build part 2, in which we only have the compiled results and
28 # See https://docs.docker.com/develop/develop-images/multistage-build/
37 COPY --from=builder /tmp/VERSION /tmp/VERSION
39 COPY --from=builder /tmp/skia/skia/out/pathkit/pathkit* /tmp/pathkit/
41 COPY --from=builder /tmp/skia/skia/out/canvaskit_wasm/canvaskit* /tmp/canvaskit/
43 COPY --from=builder /tmp/skia/skia/out/debugger_wasm/debugger* /tmp/debugger/