diff --git a/docker/skia-wasm-release/Dockerfile b/docker/skia-wasm-release/Dockerfile index 247df37bbe..cd133e17e6 100644 --- a/docker/skia-wasm-release/Dockerfile +++ b/docker/skia-wasm-release/Dockerfile @@ -1,4 +1,4 @@ -# Dockerfile for building the WASM libraries used by jsfiddle.skia.org +# Dockerfile for building the WASM libraries used by jsfiddle.skia.org and debugger.skia.org FROM gcr.io/skia-public/emsdk-release:prod as builder RUN cd /tmp \ @@ -17,6 +17,9 @@ RUN /tmp/skia/skia/modules/pathkit/compile.sh # CanvasKit should be in /tmp/skia/skia/out/canvaskit_wasm RUN /tmp/skia/skia/modules/canvaskit/compile.sh +# Debugger should be in /tmp/skia/skia/out/debugger_wasm +RUN /tmp/skia/skia/experimental/wasm-skp-debugger/compile.sh + RUN cd /tmp/skia/skia && git rev-parse HEAD > /tmp/VERSION ############################################################################# @@ -36,3 +39,5 @@ COPY --from=builder /tmp/VERSION /tmp/VERSION COPY --from=builder /tmp/skia/skia/out/pathkit/pathkit* /tmp/pathkit/ COPY --from=builder /tmp/skia/skia/out/canvaskit_wasm/canvaskit* /tmp/canvaskit/ + +COPY --from=builder /tmp/skia/skia/out/debugger_wasm/debugger* /tmp/debugger/