1
0
mirror of https://github.com/gluster/glusterdocs.git synced 2026-02-05 15:47:01 +01:00
Files
glusterdocs/Makefile
Rune Juhl Jacobsen a2ff1f5647 Add Dockerfile and Makefile for easily building docs (#614)
This is useful to have - thank you for contributing.

@amarts perhaps we can make more folks aware that this is now available. If any changes/fixes are required we can track against this initial contribution.
2020-11-18 08:47:51 +05:30

6 lines
247 B
Makefile

build: docker/build
@docker run --rm -ti --user $(shell id -u):$(shell id -g) -v $(PWD):/docs:ro -v $(PWD)/site:/docs/site:rw -w /docs $(shell grep "Successfully built" .buildlog | cut -d ' ' -f 3)
docker/build:
@docker build . | tee .buildlog