fix(core): update to v2 of code-server

This commit is contained in:
Philipp Kunz 2019-11-05 15:50:15 +01:00
parent 7e4b4e22a9
commit 56fea33e32
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM codercom/code-server FROM codercom/code-server:v2
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
USER root USER root

View File

@ -18,6 +18,8 @@ a vscode image with everything installed needed to run a vscode instance
## Usage ## Usage
This image uses codercom/code-server:v2 as base. As a result you can use it largely like the base image.
``` ```
docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "$PWD:/home/coder/project" registry.gitlab.com/hosttoday/ht-docker-vscode docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "$PWD:/home/coder/project" registry.gitlab.com/hosttoday/ht-docker-vscode
``` ```