diff --git a/Dockerfile b/Dockerfile index ead55bec54..9b7d827c8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -# syntax = docker/dockerfile:1.2 +# syntax = docker/dockerfile@sha256:6ce32b7af840de740a21ba297f7d1c31e0f1eb0d6b03c0efc03ae0cca9c8fd2a +# Use Docker fronted docker/dockerfile:1.2.1 to enable BuildKit features. + ############################ # Build ############################ diff --git a/tools/docker-network/run.sh b/tools/docker-network/run.sh index 57d07ce5e8..913dcc60fe 100755 --- a/tools/docker-network/run.sh +++ b/tools/docker-network/run.sh @@ -8,6 +8,8 @@ fi REPLICAS=$1 GRAFANA=${2:-0} +DOCKER_BUILDKIT=1 +COMPOSE_DOCKER_CLI_BUILD=1 echo "Build GoShimmer" docker-compose -f builder/docker-compose.builder.yml up --abort-on-container-exit --exit-code-from builder diff --git a/tools/integration-tests/runTests.sh b/tools/integration-tests/runTests.sh index 2376c5bb81..81c72b6e63 100755 --- a/tools/integration-tests/runTests.sh +++ b/tools/integration-tests/runTests.sh @@ -2,6 +2,8 @@ TEST_NAMES='autopeering common drng message value consensus faucet syncbeacon mana' +DOCKER_BUILDKIT=1 +COMPOSE_DOCKER_CLI_BUILD=1 echo "Build GoShimmer image" docker build -t iotaledger/goshimmer ../../.