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