Remove DOCKER_CLI_EXPERIMENTAL usage

The DOCKER_CLI_EXPERIMENTAL environment variable was used to enable
experimental features in the docker CLI. This capability was deprecated
in Docker v19.03 and completely removed in v23.0 [0].

This removes the setting of DOCKER_CLI_EXPERIMENTAL from our scripts as
it no longer has any effect and is not needed.

[0] https://docs.docker.com/engine/deprecated/#configuration-options-for-experimental-cli-features

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis
2024-06-28 13:45:39 +00:00
parent efd8c7cdf4
commit 88f6cc7079
3 changed files with 0 additions and 6 deletions

View File

@@ -15,8 +15,6 @@
set -o errexit -o nounset -o pipefail
export DOCKER_CLI_EXPERIMENTAL=enabled
# We can skip setup if the current builder already has multi-arch
# AND if it isn't the docker driver, which doesn't work
current_builder="$(docker buildx inspect)"

View File

@@ -71,7 +71,6 @@ for arch in "${__arches__[@]}"; do
done
# combine to manifest list tagged with kubernetes version
export DOCKER_CLI_EXPERIMENTAL=enabled
# images must be pushed to be referenced by docker manifest
# we push only after all builds have succeeded
for image in "${images[@]}"; do

View File

@@ -27,9 +27,6 @@ IMAGE?=$(REGISTRY)/$(IMAGE_NAME):$(TAG)$(TAG_SUFFIX)
# Go version to use, respected by images that build go binaries
GO_VERSION=$(shell cat $(CURDIR)/../../.go-version | head -n1)
# required to enable buildx
export DOCKER_CLI_EXPERIMENTAL=enabled
# build with buildx
PLATFORMS?=linux/amd64,linux/arm64
OUTPUT?=