Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da479e27b4 | |||
| 158e2b9235 | |||
| 8c32b84809 | |||
| 1f81791781 | |||
| 703c647ecc | |||
| 8b4f315b5a |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -16,4 +16,5 @@ dist_web/
|
||||
dist_serve/
|
||||
dist_ts_web/
|
||||
|
||||
# custom
|
||||
# custom
|
||||
code-server/
|
||||
|
||||
10
Dockerfile
10
Dockerfile
@@ -1,12 +1,14 @@
|
||||
FROM codercom/code-server
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /workspace
|
||||
# important environment variables
|
||||
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
|
||||
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 upgrade --no-install-recommends -y \
|
||||
&& apt-get install -y -q --no-install-recommends \
|
||||
@@ -26,7 +28,11 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
wget \
|
||||
&& apt-get update \
|
||||
&& apt-get clean \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
&& rm -r /var/lib/apt/lists/*"
|
||||
|
||||
RUN mkdir $NVM_DIR && sudo chown coder $NVM_DIR && chown u+w $NVM_DIR
|
||||
|
||||
USER coder
|
||||
|
||||
# Install nvm with node and npm
|
||||
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-vscode",
|
||||
"version": "5.0.10",
|
||||
"version": "5.0.13",
|
||||
"description": "a vscode image with everything installed needed to run a vscode instance",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user