makefile: hotfix for kaniko on cgroup v2 hosts
This is a temporary workaround that enables kaniko to run on cgroup v2
enabled hosts. Due to an upstream issue, kaniko fails to detect that it
is indeed being run from a container.
Solution introduced here is to force kaniko to run regardless.
as seen in: d728f4cd60
[skip ci]
This commit is contained in:
parent
9415138735
commit
735dd5a91b
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ dargskaniko = run --rm -it -w=$(kanikowdir) -v $$PWD:$(kanikowdir)
|
||||
kanikoexecutorimg = gcr.io/kaniko-project/executor
|
||||
kanikowdir = /src
|
||||
kanikocontext = .
|
||||
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --no-push
|
||||
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --no-push --force
|
||||
|
||||
.PHONY: build kaniko clean test prune
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user