github.com/outbrain/consul@v1.4.5/website/Makefile (about)

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