mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
build: Do not unnecessarily export images
When we do not require an image output from a `docker build` command, we should not export an image as this just wastes time. I believe this requires using buildx which can be enabled with `docker buildx install` Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
817ecaabaa
commit
f55616d37b
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -13,6 +13,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
export DOCKER_BUILDKIT=1
|
||||
export BUILDX_NO_DEFAULT_LOAD=1
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue