mirror of
https://gitee.com/actions-mirror/docker-setup-buildx-action.git
synced 2024-11-30 16:50:41 +08:00
41ae3d0e5f
* add container based dev flow Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> * Fix yarn test for container based dev flow Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> * Update contributing guidelines and test workflow Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
7 lines
200 B
Bash
Executable File
7 lines
200 B
Bash
Executable File
#!/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)
|