mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-05-11 00:49:30 +02:00
add container based dev flow
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
80f3f35da3
commit
de88f925d4
5 changed files with 122 additions and 0 deletions
6
hack/shell
Executable file
6
hack/shell
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||||
DOCKER_BUILDKIT=1 docker build --iidfile $iidfile --progress=plain .
|
||||
docker run -it --rm $(cat $iidfile)
|
||||
docker rmi $(cat $iidfile)
|
Loading…
Add table
Add a link
Reference in a new issue