diff --git a/.devcontainer/install-dependencies.sh b/.devcontainer/install-dependencies.sh index 43884af1f2d..a2ee0ba83c5 100755 --- a/.devcontainer/install-dependencies.sh +++ b/.devcontainer/install-dependencies.sh @@ -210,6 +210,14 @@ if should-install "$TOOL_DEST/cmctl"; then curl -L "https://github.com/jetstack/cert-manager/releases/latest/download/cmctl-${os}-${arch}.tar.gz" | tar -xz -C "$TOOL_DEST" fi +BUILDX_DEST=$HOME/.docker/cli-plugins/docker-buildx +write-verbose "Checking for $BUILDX_DEST" +if should-install "$BUILDX_DEST"; then + write-info "Installing buildx-${os}_${arch}…" + curl -o "$BUILDX_DEST" -L "https://github.com/docker/buildx/releases/download/v0.11.2/buildx-v0.11.2.${os}-${arch}" | tar -xz -C "$TOOL_DEST" + docker buildx install +fi + # Install azwi write-verbose "Checking for $TOOL_DEST/azwi" if should-install "$TOOL_DEST/azwi"; then