tree: d669dd7a946ab91237a52d0c9503d107b794aa09 [path history] [tgz]
  1. BUILD.bazel
  2. Makefile
  3. README.md
infra/skottie/README.md

This directory contains the build rules to create the final Docker image for the Skia Skottie hosted at skottie.skia.org.

This build rule inserts the necessary Skia artifact (CanvasKit) into an intermediate Docker image created in the Skia infrastructure repository at https://skia.googlesource.com/buildbot/+/refs/heads/main/skottie/BUILD.bazel. This final docker image is then uploaded to GCR and deployed to skia.org.

Running locally

To manually build a local Docker image:

make build

This can then be run locally by:

docker run -p 8080:8000 -it <image ID>

or debugged by:

docker run -it --entrypoint /bin/sh <image ID>

Deployment

This docker image is automatically built and pushed to GCR by Louhi. If there is a need to manually push it this can be done as so:

make push_skottie_I_am_really_sure