mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
e8bfb21851
* Build: changing docs dev-environment I have added a new image that will include the auto-generated frontend docs so you don't have to generate those locally prior to running the doc container. This has a dependency on this PR: https://github.com/grafana/website/pull/2744 and that we publish a version of the `grafana/docs-devenv` image. * will ignore everything (even symbolic links) * fixed spelling. * added newline. * updated image name.
15 lines
471 B
Makefile
15 lines
471 B
Makefile
.PHONY: docs docs-no-pull docs-test
|
|
|
|
IMAGE = grafana/grafana-docs-dev:latest
|
|
|
|
docs:
|
|
docker pull $(IMAGE)
|
|
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it $(IMAGE)
|
|
|
|
docs-no-pull:
|
|
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it $(IMAGE)
|
|
|
|
docs-test:
|
|
docker pull $(IMAGE)
|
|
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest --rm -it $(IMAGE) /bin/bash -c 'make prod'
|