alexanderdna / container-tunnel Goto Github PK
View Code? Open in Web Editor NEWA Docker container running VSCode's Remote Tunnel
License: MIT License
A Docker container running VSCode's Remote Tunnel
License: MIT License
Just curious, have you been able to figure out a good way of persisting remote vscode extensions when re-recreating the container? I've been able to add them from the interface, but can't find a way to install them from the CLI. This command doesn't appear to work:
> code --install-extension ms-dotnettools.csharp
No installation of Visual Studio Code Stable was found.
Install it from https://code.visualstudio.com and try again.
If you already installed Visual Studio Code and we didn't detect it, run `code version use stable --install-dir /path/to/installation`
I tried using that --cli-data-dir
tag via a docker ENV variable VSCODE_CLI_DATA_DIR
, but it doesn't appear to persist any extension related info.
Note, I did modify your existing dockerfile and got it to work for a windows docker image, so I did end up finding the extensions stored in %userprofle%\.vscode-server
(not sure what the equivalent would be in the linux world), so I suppose we could just link up a volume to that directory, but that seems a little hacky. I'd prefer to setup some default extensions during the build process so I have a consistent environment whenever it's torn down and recreated.
Appreciate you putting this example repo together, really made it easy to get up and going.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.