docs: always updates docker image before building docs site (#21165)

This commit is contained in:
Leonard Gram 2019-12-18 13:26:47 +01:00 committed by GitHub
parent 05cb85feba
commit ff422be961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,5 @@
docs:
docker run -v $(PWD)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it grafana/docs-base:latest
.PHONY: docs
docs:
docker pull grafana/docs-base:latest
docker run -v $(PWD)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it grafana/docs-base:latest