Skip to content

Commit

Permalink
DOCKER_BUILDKIT=1 is not passed when using docker-compose (#2818)
Browse files Browse the repository at this point in the history
* DOCKER_BUILDKIT=1 is not passed when using docker-compose

DOCKER_BUILDKIT=1 is not passed when using docker-compose it needs to be changed to DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 in order to make
e.g:
make localnet-build  works

* Update Makefile

changed only 
from 
@DOCKER_BUILDKIT=1
to
@DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1

* Update Makefile

fix spaces

* Update Makefile

sorry for wasting your time :D

* Update Makefile

* Update Makefile

Co-authored-by: Niccolo Raspa <[email protected]>
  • Loading branch information
punishell and niccoloraspa authored Sep 30, 2022
1 parent bd9c40b commit 3c7eab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ localnet-keys:
localnet-init: localnet-clean localnet-build

localnet-build:
@DOCKER_BUILDKIT=1 docker-compose -f tests/localosmosis/docker-compose.yml build
@DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f tests/localosmosis/docker-compose.yml build

localnet-start:
@STATE="" docker-compose -f tests/localosmosis/docker-compose.yml up
Expand All @@ -404,7 +404,7 @@ localnet-clean:
localnet-state-export-init: localnet-state-export-clean localnet-state-export-build

localnet-state-export-build:
@DOCKER_BUILDKIT=1 docker-compose -f tests/localosmosis/state_export/docker-compose.yml build
@DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f tests/localosmosis/state_export/docker-compose.yml build

localnet-state-export-start:
@docker-compose -f tests/localosmosis/state_export/docker-compose.yml up
Expand Down

0 comments on commit 3c7eab9

Please sign in to comment.