Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ac357a2342 | |||
| 93e6612923 | |||
| baaad02eea | |||
| 0dc9a11376 | |||
| f6896583bc | |||
| 05f367f131 | |||
| a2940e782a | |||
| 1fab137c25 | |||
| da479e27b4 | |||
| 158e2b9235 |
@@ -3,7 +3,6 @@ LABEL author="Lossless GmbH <hello@lossless.com>"
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
WORKDIR /workspace
|
|
||||||
# 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"
|
||||||
|
|
||||||
@@ -30,13 +29,15 @@ RUN su -c "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-s
|
|||||||
&& 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
|
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"
|
||||||
|
|||||||
5
package-lock.json
generated
Normal file
5
package-lock.json
generated
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "ht-docker-vscode",
|
||||||
|
"version": "5.0.17",
|
||||||
|
"lockfileVersion": 1
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-vscode",
|
"name": "ht-docker-vscode",
|
||||||
"version": "5.0.12",
|
"version": "5.0.17",
|
||||||
"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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user