From 3f49c68cb1025192a586f0d95fc56d33c1f86a2a Mon Sep 17 00:00:00 2001 From: yyynnn Date: Fri, 3 May 2019 15:40:07 +0300 Subject: [PATCH 1/4] master. node added to dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0610301a3fb3..c8e3df7ce1ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,9 @@ RUN apt-get update && apt-get install -y \ dumb-init \ vim \ curl \ - wget + wget \ + node \ + npm RUN locale-gen en_US.UTF-8 # We unfortunately cannot use update-locale because docker will not use the env variables From 75cf0f8679062c3f33479baf112cba94c6bbd867 Mon Sep 17 00:00:00 2001 From: yyynnn Date: Fri, 3 May 2019 17:00:22 +0300 Subject: [PATCH 2/4] master. node added to dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c8e3df7ce1ca..5cbbc64e6e40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y \ vim \ curl \ wget \ - node \ + nodejs \ npm RUN locale-gen en_US.UTF-8 From b60bcc3e5b53621acdb2adc226b231968f73a325 Mon Sep 17 00:00:00 2001 From: yyynnn Date: Fri, 3 May 2019 19:35:50 +0300 Subject: [PATCH 3/4] master. readme update --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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. From e9319057b811d3cf70d1dd488103028e50c11d59 Mon Sep 17 00:00:00 2001 From: yyynnn Date: Sat, 4 May 2019 00:14:41 +0300 Subject: [PATCH 4/4] master. dockerfile update --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5cbbc64e6e40..9f897c9450f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,9 +27,13 @@ RUN apt-get update && apt-get install -y \ dumb-init \ vim \ curl \ - wget \ - nodejs \ - npm + 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