From c111e059bd706c200d35071e7c8b18434f7fde12 Mon Sep 17 00:00:00 2001 From: lauren_tb Date: Wed, 20 Mar 2024 10:43:34 +0000 Subject: [PATCH] Amend Makefile Added descriptions for each makefile option to increase visibility. Added platform flag to docker run to enable M* chip compatability. ND-171 --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 02c38b9..9ac5934 100644 --- a/makefile +++ b/makefile @@ -1,16 +1,17 @@ .DEFAULT_GOAL := help IMAGE := ministryofjustice/tech-docs-github-pages-publisher:v4.0.0 -.PHONY: preview report +.PHONY: preview preview: ## Run a local instance of the documentation site, while editing - docker run --rm \ + docker run --platform=linux/amd64 --rm \ -v $$(pwd)/config:/app/config \ -v $$(pwd)/source:/app/source \ -v $$(pwd)/scripts:/scripts \ -p 4567:4567 \ -it $(IMAGE) /scripts/preview.sh +.PHONY: report report: ## Review which pages have expired ./report-for-daniel-the-manual-spaniel.sh