mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
Setup custom builder
This commit is contained in:
1
.devcontainer/cache/build-cache-image.sh
vendored
1
.devcontainer/cache/build-cache-image.sh
vendored
@@ -21,6 +21,7 @@ cd "${SCRIPT_PATH}/../.."
|
||||
|
||||
echo "[$(date)] Starting image build and push..."
|
||||
export DOCKER_BUILDKIT=1
|
||||
docker buildx create --use --name vscode-dev-containers
|
||||
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" .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user