From 16dcdce9e30411b742e34e221e309e4ed61f0b47 Mon Sep 17 00:00:00 2001 From: Nic Newdigate Date: Sun, 1 Oct 2023 17:35:54 +0100 Subject: [PATCH 1/2] Update Dockerfile, update getvsdbg to getvsdbgshbeta (working) changing from broken https://aka.ms/getvsdbg to https://aka.ms/getvsdbgbeta The broken version has missing dependencies on alpine linux, and it crashes every single time, regardless of client platform. this fixes it for me --- netcore/helper-image/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netcore/helper-image/Dockerfile b/netcore/helper-image/Dockerfile index 3fd9cbc9..5b40a12a 100644 --- a/netcore/helper-image/Dockerfile +++ b/netcore/helper-image/Dockerfile @@ -3,7 +3,7 @@ ARG BUILDPLATFORM ARG TARGETPLATFORM # assume glibc; RuntimeIDs gleaned from the getvsdbgsh script RUN RuntimeID=$(case "$TARGETPLATFORM" in linux/amd64) echo linux-x64;; linux/arm64) echo linux-arm64;; *) exit 1;; esac); \ - mkdir $HOME/vsdbg && curl -sSL https://aka.ms/getvsdbgsh | sh /dev/stdin -v latest -l $HOME/vsdbg -r $RuntimeID + mkdir $HOME/vsdbg && curl -sSL https://aka.ms/getvsdbgshbeta | sh /dev/stdin -v latest -l $HOME/vsdbg -r $RuntimeID # Now populate the duct-tape image with the language runtime debugging support files # The debian image is about 95MB bigger From 6a9b7c3ed97a2dcd9aa5e8c5594cb4df689a9c7e Mon Sep 17 00:00:00 2001 From: Newdigate Date: Wed, 4 Oct 2023 19:45:53 +0100 Subject: [PATCH 2/2] change RuntimeId from linux-x64 to linux-musl-x64 --- netcore/helper-image/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netcore/helper-image/Dockerfile b/netcore/helper-image/Dockerfile index 5b40a12a..979f0149 100644 --- a/netcore/helper-image/Dockerfile +++ b/netcore/helper-image/Dockerfile @@ -2,8 +2,8 @@ FROM --platform=$BUILDPLATFORM curlimages/curl as netcore ARG BUILDPLATFORM ARG TARGETPLATFORM # assume glibc; RuntimeIDs gleaned from the getvsdbgsh script -RUN RuntimeID=$(case "$TARGETPLATFORM" in linux/amd64) echo linux-x64;; linux/arm64) echo linux-arm64;; *) exit 1;; esac); \ - mkdir $HOME/vsdbg && curl -sSL https://aka.ms/getvsdbgshbeta | sh /dev/stdin -v latest -l $HOME/vsdbg -r $RuntimeID +RUN RuntimeID=$(case "$TARGETPLATFORM" in linux/amd64) echo linux-musl-x64;; linux/arm64) echo linux-arm64;; *) exit 1;; esac); \ + mkdir $HOME/vsdbg && curl -sSL https://aka.ms/getvsdbgsh | sh /dev/stdin -v latest -l $HOME/vsdbg -r $RuntimeID # Now populate the duct-tape image with the language runtime debugging support files # The debian image is about 95MB bigger