couldnt get any of the docker stuff to work, finally just installed node etc locally
sudo apt install nodejs npm cd into the workspace folder and run npm install
DOCKER_BUILDKIT=1 docker build --tag vsce "https://github.com/microsoft/vscode-vsce.git#main" Open a terminal in the workspace of this repository then: docker run --rm -it -v "$(pwd)":/workspace vsce publish