grafana/scripts/build/ci-build
Arve Knudsen b3c00e4c32
Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798)
* build: Install musl cross compilers as part of build Docker image
* build: Build also musl packages in scripts/build/build.sh
* scripts/build/build-all.sh: Build musl Linux targets
* build: Upgrade build-container to 1.2.11
* build.go: De-duplicate code
* build: Base Docker images on musl binaries
2019-10-24 14:34:14 +02:00
..
bootstrap.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
build-deploy.sh Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798) 2019-10-24 14:34:14 +02:00
Dockerfile Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798) 2019-10-24 14:34:14 +02:00
Makefile build: migrates the build container into the main repo. 2019-03-19 11:34:01 +01:00
README.md ci-build: Improve build-deploy script (#19653) 2019-10-07 14:17:17 +02:00

grafana-build-container

Grafana build container

Description

This is a container for cross-platform builds of Grafana. You can run it locally using the Makefile.

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: ./build-deploy.sh.