14 lines
406 B
YAML
14 lines
406 B
YAML
|
version: "3"
|
||
|
|
||
|
tasks:
|
||
|
create-image:
|
||
|
desc: Build local docker image (am-ntfy-builder)
|
||
|
dir: "docker"
|
||
|
cmds:
|
||
|
- docker build --platform linux/amd64 -t am-ntfy-builder --no-cache .
|
||
|
|
||
|
shell:
|
||
|
desc: Drop into a build shell
|
||
|
cmds:
|
||
|
- docker run -v /var/run/docker.sock:/var/run/docker.sock -v ./:/root/working-dir -w /root/working-dir --platform linux/amd64 -it am-ntfy-builder -c "fish"
|