Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck <clantz@microsoft.com>2022-03-17 01:23:10 +0300
committerChuck <clantz@microsoft.com>2022-03-17 01:23:29 +0300
commita0c8560a80b3a94e33990e8cdb03a0ceb82493f5 (patch)
tree1a641ee34a3098cf3c0bd23054aa444ddc2bd5da /.devcontainer
parentdfd1f28552c002181673ae3953185dbf1c655e25 (diff)
Set buildkit
Diffstat (limited to '.devcontainer')
-rwxr-xr-x.devcontainer/cache/build-cache-image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.devcontainer/cache/build-cache-image.sh b/.devcontainer/cache/build-cache-image.sh
index 6f8b92a0db3..01566680167 100755
--- a/.devcontainer/cache/build-cache-image.sh
+++ b/.devcontainer/cache/build-cache-image.sh
@@ -20,6 +20,7 @@ echo "[$(date)] ${BRANCH} => ${TAG}"
cd "${SCRIPT_PATH}/../.."
echo "[$(date)] Starting image build and push..."
+export DOCKER_BUILDKIT=1
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx build --push --platform linux/amd64,linux/arm64 -t ${CONTAINER_IMAGE_REPOSITORY}:"${TAG}" -f "${SCRIPT_PATH}/cache.Dockerfile" .