* CI: Introduce `build-frontend-packages` step (#45824) * Split frontend build * Fix command name * Update grabpl (cherry picked from commit2f6c827f5d) * CI: Add docs pipeline for `main` pipelines (#45740) * Add docs pipeline for main * Extract trigger docs * Change trigger for main (cherry picked from commitea3e41ea62) * CI: Add more checks to standalone docs pipeline (#46449) * Add build frontend package step * Reorder dependencies * Add codespell and prettier checks (cherry picked from commit82b436afee) * Update golang (#46458) (cherry picked from commita29159f362)
grafana-build-container
These are the sources for the Docker image that we use for the Grafana build containers. The image source itself is in Dockerfile, but there are supporting scripts such as the Makefile, for building images.
The image is based on Debian Stretch, since we want an older Linux distribution (Stretch has long-term support into 2022) to build binaries that are as portable as possible.
Makefile targets
make run-with-local-source-copy- Starts the container locally and copies your local sources into the container
make run-with-local-source-live- Starts the container (as your user) locally and maps your Grafana project dir into the container
make update-source- Updates the sources in the container from your local sources
make stop- Kills the container
make attach- Opens bash within the running container
Build/Publish Docker Image
In order to build and publish the Grafana build Docker image, execute the following:
# Download MacOSX10.15.sdk.tar.xz from our private GCS bucket into this directory
docker build -t grafana/build-container:<VERSION> .
docker push grafana/build-container:<VERSION>