Skip to content

Commit

Permalink
DOCKER_BUILDKIT=1 is not passed when using docker-compose (#2818) (#2910
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]>
(cherry picked from commit 3c7eab9)

Co-authored-by: punishell <[email protected]>
  • Loading branch information
mergify[bot] and punishell authored Sep 30, 2022
1 parent e55e13d commit 4b388b0
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 @@ -372,7 +372,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 @@ -395,7 +395,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 4b388b0

Please sign in to comment.