This directory contains the Go backend for the Pinpoint Web UI.
To build and run the Go server directly without Docker:
bazelisk run //pinpoint/go/webui -- --port=:8000
The skia_app_container macro automatically generates a load_<name> target that builds the OCI image and loads it into your local Docker daemon.
Run the following command:
bazelisk run //pinpoint:load_pinpoint_webui
Once loaded, you can run the container using standard Docker commands. The image is tagged as gcr.io/ followed by the repository attribute defined in your BUILD.bazel.
docker run -p 8000:8000 gcr.io/skia-public/pinpoint_webui:latest
Access the service in your browser at: http://localhost:8000
If you see an error like GET returned 401 Unauthorized when fetching @base-cipd (or any other gcr.io image), it is an authentication issue.
Run the following commands in your terminal:
bash gcloud auth loginbash gcloud auth application-default loginrules_oci often rely on your Docker configuration to authenticate with GCR. bash gcloud auth configure-docker gcr.io