Merge pull request #20182 from radeksm/bugfix/20181
Make build of kubernetes-hugo image more reliablepull/19907/head
commit
c30848de4d
5
Makefile
5
Makefile
|
@ -36,7 +36,10 @@ serve: ## Boot the development server.
|
||||||
hugo server --buildFuture
|
hugo server --buildFuture
|
||||||
|
|
||||||
docker-image:
|
docker-image:
|
||||||
$(DOCKER) build . --tag $(DOCKER_IMAGE) --build-arg HUGO_VERSION=$(HUGO_VERSION)
|
$(DOCKER) build . \
|
||||||
|
--network=host \
|
||||||
|
--tag $(DOCKER_IMAGE) \
|
||||||
|
--build-arg HUGO_VERSION=$(HUGO_VERSION)
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
$(DOCKER_RUN) $(DOCKER_IMAGE) hugo
|
$(DOCKER_RUN) $(DOCKER_IMAGE) hugo
|
||||||
|
|
Loading…
Reference in New Issue