docker-vscode-server
docker-vscode-server copied to clipboard
This project has been killed by ms?
Now the downloaded code-server file is an html file pointing here: https://code.visualstudio.com/docs/remote/tunnels
I believe this kind of usage has just become dead? :sob:
related:
- https://github.com/microsoft/vscode/issues/177432
- https://github.com/microsoft/vscode/issues/168492
looks like there's a workaround here: https://github.com/microsoft/vscode/issues/135856#issuecomment-1170091265
will need to update the Dockerfile
to follow those steps.
I have yet to take a look at this: https://github.com/gitpod-io/openvscode-server
Came up with a working script:
#!/bin/sh
#Requires jq
LATEST="$(curl -fsSL https://update.code.visualstudio.com/api/commits/stable/server-linux-x64-web | jq -r 'first')"
wget https://az764295.vo.msecnd.net/stable/${LATEST}/vscode-server-linux-x64-web.tar.gz -O /tmp/vscode-server-linux-${LATEST}-x64-web.tar.gz
sudo mkdir -p /opt/vscode/${LATEST}
sudo tar --strip-components=1 -xf /tmp/vscode-server-linux-${LATEST}-x64-web.tar.gz -C /opt/vscode/${LATEST}
CODEVER="$(cat /opt/vscode/${LATEST}/package.json | jq -r '.version')"
sudo ln -sfn ${LATEST} /opt/vscode/${CODEVER}
sudo ln -sfn ${CODEVER} /opt/vscode/latest
The question is wether this host (az764295.vo.msecnd.net/) will keep working... I wonder what is coming from ms... The gitpod version has some interesting insights about compiling vscode-server....
BTW, using this script in a "REMOTE HOST", it is possible to use both SSH and WEB with synchronized config and extensions. dev containers doesn't work in web, much like in vsdev tunnels unfortunately... by Running
/opt/vscode/latest/bin/code-server --host 0.0.0.0 --port 8000 --without-connection-token --accept-server-license-terms --extensions-dir ${HOME}/.vscode-server/extensions --user-data-dir ${HOME}/.vscode-server/data
seems they finally resolved this last week: https://github.com/microsoft/vscode/issues/168492#issuecomment-1701978457
I'll make the necessary updates today
Hello, did you make necessery updates? I don't see any update for vs code docker container?
Hello, would be interested in this as well. I needed to reset my Unraid server and the installed docker container still has this issue.