based-alpine/justfile

11 lines
261 B
Makefile

name := 'git.ficd.sh/ficd/based-alpine'
# build the image
build arg="latest":
docker build -t {{name}}:{{arg}} .
# push the image
push arg="latest":
docker push {{name}}:{{arg}}
# run cmd in image
run arg="sh":
docker run --rm -it {{name}} {{arg}}