зеркало из https://github.com/docker/packaging.git
common: pin busybox tag
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
Родитель
2e21912e8a
Коммит
bdf621e7ba
|
@ -77,6 +77,6 @@ run-verify-%: platform pkg-info-%
|
|||
.PHONY: platform
|
||||
platform:
|
||||
$(eval $@_TMP_OUT = $(shell mktemp -d -t docker-packaging.XXXXXXXXXX))
|
||||
$(shell echo 'FROM busybox\nARG TARGETPLATFORM\nRUN mkdir /out && echo "$$TARGETPLATFORM" > /out/platform' | docker buildx build --platform local -q --output "$($@_TMP_OUT)" -)
|
||||
$(shell echo 'FROM busybox:1.35\nARG TARGETPLATFORM\nRUN mkdir /out && echo "$$TARGETPLATFORM" > /out/platform' | docker buildx build --platform local -q --output "$($@_TMP_OUT)" -)
|
||||
$(eval PLATFORM = $(shell cat $($@_TMP_OUT)/out/platform))
|
||||
@rm -rf "$($@_TMP_OUT)"
|
||||
|
|
Загрузка…
Ссылка в новой задаче