Compare commits

...

2 Commits

Author SHA1 Message Date
Lance Vick 137dccc0cc
Merge remote-tracking branch 'origin/main' 2024-01-18 16:23:18 -08:00
Seán C McCord a9266a413c
fix: workaround for bug in patch 2024-01-17 13:10:39 -05:00
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@
# - TARGET defaults to "package"
# - EXTRA_ARGS will be blindly injected
# - packages may also define a "test" layer
# - the ulimit line is to workaround a bug in patch when the nofile limit is too large:
# https://savannah.gnu.org/bugs/index.php?62958
# TODO:
# - try to disable networking on fetch layers with something like:
# $(if $(filter fetch,$(lastword $(subst -, ,$(TARGET)))),,--network=none)
@ -29,6 +31,7 @@ define build
SOURCE_DATE_EPOCH=1 \
$(BUILDER) \
build \
--ulimit nofile=2048:16384 \
-t $(REGISTRY)/$(NAME):$(VERSION) \
--build-arg REGISTRY=$(REGISTRY) \
--platform $(PLATFORM) \