Skip to content

Commit

Permalink
Merge pull request #73 from nicolasbock/no_cache
Browse files Browse the repository at this point in the history
Disable cache use in docker build
  • Loading branch information
dosaboy authored Sep 28, 2023
2 parents a1fbb3d + 98bb5bb commit 4c7cf1b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,10 @@ common-tarball: promu
.PHONY: common-docker $(BUILD_DOCKER_IMAGES)
common-docker: $(BUILD_DOCKER_IMAGES)
$(BUILD_DOCKER_IMAGES): common-docker-%:
docker build -t "$(DOCKER_REPO)/athena-$*-linux-$(DOCKER_ARCHS):$(DOCKER_IMAGE_TAG)" \
-f ./cmd/$*/$(DOCKERFILE_PATH) \
docker build \
--tag "$(DOCKER_REPO)/athena-$*-linux-$(DOCKER_ARCHS):$(DOCKER_IMAGE_TAG)" \
--file ./cmd/$*/$(DOCKERFILE_PATH) \
--no-cache \
--build-arg ARCH=$(DOCKER_ARCHS) \
--build-arg OS="linux" \
$(DOCKERBUILD_CONTEXT)
Expand Down

0 comments on commit 4c7cf1b

Please sign in to comment.