xref: /aosp_15_r20/external/skia/infra/jsfiddle/README.md (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1This directory contains the build rules to create the final Docker image for
2the Skia jsfiddle hosted at jsfiddle.skia.org.
3
4This build rule inserts the necessary Skia artifact (CanvasKit and PathKit) into
5an intermediate Docker image created in the Skia infrastructure repository at
6https://skia.googlesource.com/buildbot/+/refs/heads/main/jsfiddle/BUILD.bazel.
7This final docker image is then uploaded to GCR and deployed to skia.org.
8
9To manually build a local Docker image:
10
11    make build
12
13This can then be run locally by:
14
15    docker run -p 8080:8000 -it <image ID>
16
17or debugged by:
18
19    docker run -it --entrypoint /bin/sh <image ID>
20
21This docker image is automatically built and pushed to GCR by Louhi. If there
22is a need to manually push it this can be done as so:
23
24    make push_jsfiddle_I_am_really_sure