Open bencevans opened 1 year ago
Same issue here, when on mobile and I try to attach to a container, commands like this takes ages:
3773 ms] Start: Run in container: (dd iflag=fullblock bs=8192 count=8141 2>/dev/null; dd iflag=fullblock bs=5470 count=1 2>/dev/null) | tar --no-same-owner -xz -C /home/user/.vscode-server/bin/97dec172d3256f8ca4bfb2143f3f76b503ca0534_1673542810183
After this finishes, everything else runs pretty smooth. Would be nice to be able to control the installation to be made directly from the internet.
Is it possible to pass the Visual Studio Code commit hash as a build-arg during Docker container build, at the very least? This way, we could download it in the Dockerfile using something like: wget https://update.code.visualstudio.com/commit:${commit_hash}/server-linux-x64/stable
.
Apologies if I've overlooked something obvious!
I'm on a rather slow mobile connection, trying to utilise VSCode Dev Container over SSH connection and finding it takes a long time to install the VSCode Server. The image was built quickly, but the hang seems to be the code server being transferred from the local machine over SSH into the container. (I think, anyway, I've attached the log of where it's got to).
Is it possible, or could it be possible, to bootstrap the VSCode server either into an image with a feature or to download the server directly from the internet on the remote machine rather than transferring from the local device?
vscode-log.txt