Files
nomad/website/Makefile
Nick Fagerlund fd8c4a9362 website: Update hashicorp-middleman container to v0.3.39
This updates some dependencies with known issues. It does not appear to change
any website behavior.

The Gemfile.lock update is based on what's currently installed in the container.

https://github.com/hashicorp/middleman-hashicorp/compare/v0.3.35..v0.3.39
2019-04-01 16:08:51 -07:00

30 lines
610 B
Makefile

VERSION?="0.3.39"
build:
@echo "==> Starting build in Docker..."
@docker run \
--interactive \
--rm \
--tty \
--volume "$(shell pwd):/website" \
-e "ENV=production" \
hashicorp/middleman-hashicorp:${VERSION} \
bundle exec middleman build --verbose --clean
website:
@echo "==> Starting website in Docker..."
@docker run \
--interactive \
--rm \
--tty \
--publish "4567:4567" \
--publish "35729:35729" \
--volume "$(shell pwd):/website" \
hashicorp/middleman-hashicorp:${VERSION}
test:
@echo "==> Running website tests..."
./scripts/test.sh ${VERSION}
.PHONY: build website