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