Docs: make sure we always use the latest docs image (#24217)

This commit is contained in:
Leonard Gram
2020-05-04 11:15:51 +02:00
committed by GitHub
parent 96ffcaa134
commit e8341a09b2

View File

@@ -3,7 +3,9 @@
IMAGE = grafana/docs-base:latest
docs:
docker pull ${IMAGE}
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it $(IMAGE) /bin/bash -c 'make server'
docs-test:
docker pull ${IMAGE}
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest --rm -it $(IMAGE) /bin/bash -c 'make prod'