pause: add --provenance=false during etcd multi-arch build
This commit is contained in:
parent
c3eebb233d
commit
2259ac2444
@ -122,12 +122,12 @@ bin/wincat-windows-${ARCH}: windows/wincat/wincat.go
|
|||||||
|
|
||||||
container: .container-${OS}-$(ARCH)
|
container: .container-${OS}-$(ARCH)
|
||||||
.container-linux-$(ARCH): bin/$(BIN)-$(OS)-$(ARCH)
|
.container-linux-$(ARCH): bin/$(BIN)-$(OS)-$(ARCH)
|
||||||
docker buildx build --pull --output=type=${OUTPUT_TYPE} --platform ${OS}/$(ARCH) \
|
docker buildx build --provenance=false --pull --output=type=${OUTPUT_TYPE} --platform ${OS}/$(ARCH) \
|
||||||
-t $(IMAGE):$(TAG)-${OS}-$(ARCH) --build-arg BASE=${BASE} --build-arg ARCH=$(ARCH) .
|
-t $(IMAGE):$(TAG)-${OS}-$(ARCH) --build-arg BASE=${BASE} --build-arg ARCH=$(ARCH) .
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
.container-windows-$(ARCH): $(foreach binary, ${BIN}, bin/${binary}-${OS}-${ARCH})
|
.container-windows-$(ARCH): $(foreach binary, ${BIN}, bin/${binary}-${OS}-${ARCH})
|
||||||
docker buildx build --pull --output=type=${OUTPUT_TYPE} --platform ${OS}/$(ARCH) \
|
docker buildx build --provenance=false --pull --output=type=${OUTPUT_TYPE} --platform ${OS}/$(ARCH) \
|
||||||
-t $(IMAGE):$(TAG)-${OS}-$(ARCH)-${OSVERSION} --build-arg BASE=${BASE}-windows-${OSVERSION}-${ARCH} --build-arg ARCH=$(ARCH) -f Dockerfile_windows .
|
-t $(IMAGE):$(TAG)-${OS}-$(ARCH)-${OSVERSION} --build-arg BASE=${BASE}-windows-${OSVERSION}-${ARCH} --build-arg ARCH=$(ARCH) -f Dockerfile_windows .
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user