makefile: switch to cgroupsv2-aware kaniko build
as a consequence, we no longer need to override using "--force". works with both recent podman and docker (>=v20.x) [skip ci]
This commit is contained in:
parent
b2ee470ff1
commit
c42387d7ee
4
Makefile
4
Makefile
@ -5,10 +5,10 @@ dargs = build -t $(dtag) --no-cache --pull - < $(dfile)
|
||||
cleanargs = image rm -f $(dtag)
|
||||
pruneargs = system prune -af
|
||||
dargskaniko = run --rm -it -w=$(kanikowdir) -v $$PWD:$(kanikowdir)
|
||||
kanikoexecutorimg = gcr.io/kaniko-project/executor:debug
|
||||
kanikoexecutorimg = gcr.io/kaniko-project/executor@sha256:6ecc43ae139ad8cfa11604b592aaedddcabff8cef469eda303f1fb5afe5e3034
|
||||
kanikowdir = /src
|
||||
kanikocontext = .
|
||||
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --no-push --force
|
||||
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --no-push
|
||||
hadolintimg = hadolint/hadolint:v1.23.0-8-gb01c5a9-alpine
|
||||
hadolintargs = run --rm -i -v $$PWD/.hadolint.yaml:/root/.config/hadolint.yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user