Skip to content

Commit 91e6174

Browse files
authored
Update gce docs (#8866)
* update GCE doc with proxy protocol and some fixes Signed-off-by: James Strong <[email protected]> * update gke docs Signed-off-by: James Strong <[email protected]>
1 parent fe116d6 commit 91e6174

File tree

2 files changed

+100
-41
lines changed

2 files changed

+100
-41
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ endif
5656
MAC_OS = $(shell uname -s)
5757

5858
ifeq ($(MAC_OS), Darwin)
59-
MAC_DOCKER_FLAGS=
59+
MAC_DOCKER_FLAGS="--load"
6060
else
6161
MAC_DOCKER_FLAGS=
6262
endif
@@ -220,7 +220,10 @@ dev-env-stop: ## Deletes local Kubernetes cluster created by kind.
220220

221221
.PHONY: live-docs
222222
live-docs: ## Build and launch a local copy of the documentation website in http://localhost:8000
223-
@docker build ${PLATFORM_FLAG} ${PLATFORM} -t ingress-nginx-docs .github/actions/mkdocs
223+
@docker build ${PLATFORM_FLAG} ${PLATFORM} \
224+
--no-cache \
225+
$(MAC_DOCKER_FLAGS) \
226+
-t ingress-nginx-docs .github/actions/mkdocs
224227
@docker run ${PLATFORM_FLAG} ${PLATFORM} --rm -it \
225228
-p 8000:8000 \
226229
-v ${PWD}:/docs \

0 commit comments

Comments
 (0)