diff --git a/cmd/d8s/main.go b/cmd/d8s/main.go index 9e26c3e6..0177fb10 100644 --- a/cmd/d8s/main.go +++ b/cmd/d8s/main.go @@ -336,8 +336,9 @@ func executeCommand(args cli.Args, localAddr string) error { cmd.Stdin = os.Stdin cmd.Env = os.Environ() cmd.Env = append(cmd.Env, "DOCKER_HOST=tcp://"+localAddr) + cmd.Env = append(cmd.Env, "DOCKER_BUILDKIT=0") - fmt.Printf("Execute command DOCKER_HOST=tcp://%s %v\n", localAddr, cmd) + fmt.Printf("Execute command DOCKER_HOST=tcp://%s DOCKER_BUILDKIT=0 %v\n", localAddr, cmd) err := cmd.Run() if err != nil { @@ -419,8 +420,6 @@ func uploadContextHandlerFunc(proxy *httputil.ReverseProxy, localAddr string) ht } } - log.Println(chunksList.Bytes()) - r.Body = io.NopCloser(bytes.NewReader(chunksList.Bytes())) r.Header.Add("d8s-chunked", "true") diff --git a/tests/docker-build.sh b/tests/docker-build.sh index e776af8d..af8dba25 100644 --- a/tests/docker-build.sh +++ b/tests/docker-build.sh @@ -1,6 +1,7 @@ #!bash set -uexo pipefail export DOCKER_HOST=tcp://127.0.0.1:12376 +export DOCKER_BUILDKIT=0 until docker version; do sleep 1; done docker build -t wedding-build-test-a -t wedding-build-test-b ./docker -f ./docker/dir/Dockerfile diff --git a/tests/docker-inspect.sh b/tests/docker-inspect.sh index dd8a16bb..9388433c 100644 --- a/tests/docker-inspect.sh +++ b/tests/docker-inspect.sh @@ -1,6 +1,7 @@ #!bash set -uexo pipefail export DOCKER_HOST=tcp://127.0.0.1:12376 +export DOCKER_BUILDKIT=0 until docker version; do sleep 1; done docker pull alpine diff --git a/tests/docker-max-memory.sh b/tests/docker-max-memory.sh index 8488c079..0c9e5d3d 100644 --- a/tests/docker-max-memory.sh +++ b/tests/docker-max-memory.sh @@ -1,6 +1,7 @@ #!bash set -uexo pipefail export DOCKER_HOST=tcp://127.0.0.1:12376 +export DOCKER_BUILDKIT=0 until docker version; do sleep 1; done docker build ./2gi-build diff --git a/tests/docker-pull-tag-push.sh b/tests/docker-pull-tag-push.sh index d2da56c1..8b938811 100644 --- a/tests/docker-pull-tag-push.sh +++ b/tests/docker-pull-tag-push.sh @@ -1,6 +1,7 @@ #!bash set -uexo pipefail export DOCKER_HOST=tcp://127.0.0.1:12376 +export DOCKER_BUILDKIT=0 until docker version; do sleep 1; done docker pull alpine diff --git a/tests/tilt-ci.sh b/tests/tilt-ci.sh index afd244cb..f71d0deb 100644 --- a/tests/tilt-ci.sh +++ b/tests/tilt-ci.sh @@ -1,6 +1,7 @@ #!bash set -uexo pipefail export DOCKER_HOST=tcp://127.0.0.1:12376 +export DOCKER_BUILDKIT=0 until docker version; do sleep 1; done cd tilt