docker-vscode-server icon indicating copy to clipboard operation
docker-vscode-server copied to clipboard

This project has been killed by ms?

Open msilveirabr opened this issue 1 year ago • 6 comments

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:

msilveirabr avatar Jul 19 '23 13:07 msilveirabr

related:

  • https://github.com/microsoft/vscode/issues/177432
  • https://github.com/microsoft/vscode/issues/168492

ahmadnassri avatar Jul 19 '23 19:07 ahmadnassri

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.

ahmadnassri avatar Jul 19 '23 20:07 ahmadnassri

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

msilveirabr avatar Jul 23 '23 16:07 msilveirabr

seems they finally resolved this last week: https://github.com/microsoft/vscode/issues/168492#issuecomment-1701978457

I'll make the necessary updates today

ahmadnassri avatar Sep 15 '23 10:09 ahmadnassri

Hello, did you make necessery updates? I don't see any update for vs code docker container?

stefancvetkovic avatar Sep 23 '23 19:09 stefancvetkovic

Hello, would be interested in this as well. I needed to reset my Unraid server and the installed docker container still has this issue.

Nuhser avatar Sep 26 '23 16:09 Nuhser