docker-alpine-android/Makefile
surtur fe3ebc6d83
All checks were successful
continuous-integration/drone/push Build is passing
bump kaniko executor version to v1.8.0-debug
2022-04-01 21:06:07 +02:00

28 lines
661 B
Makefile

dcmd = docker
dfile = Dockerfile
dtag = immawanderer/alpine-android:testbuild
dargs = build -t $(dtag) --no-cache --pull .
cleanargs = image rm -f $(dtag)
pruneargs = system prune -af
dargskaniko = run --rm -it -w=$(kanikowdir) -v $$PWD:$(kanikowdir)
kanikoexecutorimg = gcr.io/kaniko-project/executor:v1.8.0-debug
kanikowdir = /src
kanikocontext = .
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --no-push --force
.PHONY: build kaniko clean test prune
kaniko:
$(dcmd) $(dargskaniko) $(kanikoexecutorimg) $(kanikoargs)
build:
$(dcmd) $(dargs)
clean:
$(dcmd) $(cleanargs)
test: build kaniko
prune:
$(dcmd) $(pruneargs)