Build conformance image with DOCKER_CLI_EXPERIMENTAL enabled

In order to use buildx with docker versions prior to v20.10 experimental
features must be enabled. Setting at build time ensures that they are
in case they have not already been at the environment scope.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
This commit is contained in:
hasheddan 2021-02-01 13:17:28 -06:00
parent 1723719761
commit 20679f31d1
No known key found for this signature in database
GPG Key ID: BD68BC686A14C271

View File

@ -56,7 +56,7 @@ endif
cd ${TEMP_DIR} && sed -i.back "s|BASEIMAGE|${BASEIMAGE}|g" Dockerfile cd ${TEMP_DIR} && sed -i.back "s|BASEIMAGE|${BASEIMAGE}|g" Dockerfile
docker buildx build \ DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build \
--platform linux/${ARCH} \ --platform linux/${ARCH} \
--load \ --load \
--pull \ --pull \