diff --git a/Dockerfile b/Dockerfile index 0610301a3fb3..9f897c9450f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,13 @@ RUN apt-get update && apt-get install -y \ dumb-init \ vim \ curl \ - wget + wget + +RUN apt-get update +RUN apt-get -y install curl gnupg +RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - +RUN apt-get -y install nodejs +RUN npm install RUN locale-gen en_US.UTF-8 # We unfortunately cannot use update-locale because docker will not use the env variables diff --git a/README.md b/README.md index 0477e9c6072a..bab4f8cd4d46 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,14 @@ `code-server` is [VS Code](https://github.com/Microsoft/vscode) running on a remote server, accessible through the browser. Try it out: + ```bash -docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth +docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" yyynnn/code-server --allow-http --no-auth ``` -- Code on your Chromebook, tablet, and laptop with a consistent dev environment. - - If you have a Windows or Mac workstation, more easily develop for Linux. +- Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. -- Preserve battery life when you're on the go. - - All intensive computation runs on your server. - - You're no longer running excess instances of Chrome. +- Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome. ![Screenshot](/doc/assets/ide.png) @@ -39,10 +37,11 @@ See docker oneliner mentioned above. Dockerfile is at [/Dockerfile](/Dockerfile) ``` code-server ``` - > You will be prompted to enter the password shown in the CLI - `code-server` should now be running at https://localhost:8443. - > code-server uses a self-signed SSL certificate that may prompt your browser to ask you some additional questions before you proceed. Please [read here](doc/self-hosted/index.md) for more information. + > You will be prompted to enter the password shown in the CLI + > `code-server` should now be running at https://localhost:8443. + + > code-server uses a self-signed SSL certificate that may prompt your browser to ask you some additional questions before you proceed. Please [read here](doc/self-hosted/index.md) for more information. For detailed instructions and troubleshooting, see the [self-hosted quick start guide](doc/self-hosted/index.md). @@ -57,6 +56,7 @@ How to [secure your setup](/doc/security/ssl.md). - Creating custom VS Code extensions and debugging them doesn't work. ### Future + - **Stay up to date!** Get notified about new releases of code-server. ![Screenshot](/doc/assets/release.gif) - Windows support.