|
|
@ -93,7 +93,7 @@ endif |
|
|
|
.PHONY: build |
|
|
|
build: |
|
|
|
ifeq ($(USE_PROXY), true) |
|
|
|
docker build --network host -t $(IMAGE) --label $(LABEL) \
|
|
|
|
docker build --force-rm --network host -t $(IMAGE) --label $(LABEL) \
|
|
|
|
--label "org.opencontainers.image.revision=$(COMMIT)" \
|
|
|
|
--label "org.opencontainers.image.created=$(shell date --rfc-3339=seconds --utc)" \
|
|
|
|
--label "org.opencontainers.image.title=$(IMAGE_NAME)" \
|
|
|
@ -109,7 +109,7 @@ ifeq ($(USE_PROXY), true) |
|
|
|
--build-arg NO_PROXY=$(NO_PROXY) \
|
|
|
|
--build-arg ctx_base=$(BUILD_CTX) . |
|
|
|
else |
|
|
|
docker build --network host -t $(IMAGE) --label $(LABEL) \
|
|
|
|
docker build --force-rm --network host -t $(IMAGE) --label $(LABEL) \
|
|
|
|
--label "org.opencontainers.image.revision=$(COMMIT)" \
|
|
|
|
--label "org.opencontainers.image.created=$(shell date --rfc-3339=seconds --utc)" \
|
|
|
|
--label "org.opencontainers.image.title=$(IMAGE_NAME)" \
|
|
|
|