github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/Makefile (about)

     1  VERSION?="0.3.22"
     2  
     3  build:
     4  	@echo "==> Starting build in Docker..."
     5  	@docker run \
     6  		--interactive \
     7  		--rm \
     8  		--tty \
     9  		--volume "$(shell pwd):/website" \
    10  		hashicorp/middleman-hashicorp:${VERSION} \
    11  		bundle exec middleman build --verbose --clean
    12  
    13  website:
    14  	@echo "==> Starting website in Docker..."
    15  	@docker run \
    16  		--interactive \
    17  		--rm \
    18  		--tty \
    19  		--publish "4567:4567" \
    20  		--publish "35729:35729" \
    21  		--volume "$(shell pwd):/website" \
    22  		hashicorp/middleman-hashicorp:${VERSION}
    23  
    24  .PHONY: build website