12 Commits

Author SHA1 Message Date
baaad02eea 5.0.16 2019-05-08 23:28:19 +02:00
0dc9a11376 fix(core): update 2019-05-08 23:28:18 +02:00
f6896583bc 5.0.15 2019-05-08 23:16:25 +02:00
05f367f131 fix(core): update 2019-05-08 23:16:25 +02:00
a2940e782a 5.0.14 2019-05-08 23:12:48 +02:00
1fab137c25 fix(core): update 2019-05-08 23:12:48 +02:00
da479e27b4 5.0.13 2019-05-08 23:10:22 +02:00
158e2b9235 fix(core): update 2019-05-08 23:10:22 +02:00
8c32b84809 5.0.12 2019-05-08 23:01:33 +02:00
1f81791781 fix(core): update 2019-05-08 23:01:33 +02:00
703c647ecc 5.0.11 2019-05-08 22:53:24 +02:00
8b4f315b5a fix(core): update 2019-05-08 22:53:23 +02:00
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

@@ -17,3 +17,4 @@ dist_serve/
dist_ts_web/ dist_ts_web/
# custom # custom
code-server/

View File

@@ -1,12 +1,13 @@
FROM codercom/code-server FROM codercom/code-server
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
WORKDIR /workspace USER root
# important environment variables # important environment variables
ENV NODE_VERSION_LTS="10.15.3" NODE_VERSION_STABLE="11.2.0" NVM_DIR="/usr/local/nvm" ENV NODE_VERSION_LTS="10.15.3" NODE_VERSION_STABLE="11.2.0" NVM_DIR="/usr/local/nvm"
# Set debconf to run non-interactively and install packages # Set debconf to run non-interactively and install packages
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ RUN su -c "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update \ && apt-get update \
&& apt-get upgrade --no-install-recommends -y \ && apt-get upgrade --no-install-recommends -y \
&& apt-get install -y -q --no-install-recommends \ && apt-get install -y -q --no-install-recommends \
@@ -26,13 +27,17 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
wget \ wget \
&& apt-get update \ && apt-get update \
&& apt-get clean \ && apt-get clean \
&& rm -r /var/lib/apt/lists/* && rm -r /var/lib/apt/lists/*"
RUN mkdir $NVM_DIR && sudo chown coder $NVM_DIR && chmod u+w $NVM_DIR
USER coder
# Install nvm with node and npm # Install nvm with node and npm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
RUN bash -c "source $NVM_DIR/nvm.sh \ RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_LTS \ && nvm install $NODE_VERSION_LTS \
&& nvm alias default $NODE_VERSION_STABLE \ && nvm alias default $NODE_VERSION_LTS \
&& nvm use default \ && nvm use default \
&& npm config set unsafe-perm true \ && npm config set unsafe-perm true \
&& npm install -g npm" && npm install -g npm"

View File

@@ -1,6 +1,6 @@
{ {
"name": "ht-docker-vscode", "name": "ht-docker-vscode",
"version": "5.0.10", "version": "5.0.16",
"description": "a vscode image with everything installed needed to run a vscode instance", "description": "a vscode image with everything installed needed to run a vscode instance",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {