mirror of
https://mirror.ghproxy.com/https://github.com/docker/setup-buildx-action.git
synced 2024-03-07 18:43:05 +00:00
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)
|