From dfda4733e592b44264f36d6476b51c380112dac4 Mon Sep 17 00:00:00 2001 From: "Benjamin P. Jung" Date: Fri, 6 Mar 2020 08:10:48 +0100 Subject: [PATCH] Set ENV NODE_PATH and update TypeScript to v3.8.3. Closes #51 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cafc669..0056e1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ FROM openjdk:11.0.6-slim RUN apt-get -y update \ && apt-get -y install bash curl gawk git jq nodejs npm -ARG TYPESCRIPT_VERSION="3.7.5" +ARG TYPESCRIPT_VERSION="3.8.3" RUN npm install -g typescript@${TYPESCRIPT_VERSION} RUN ln -sf "${JAVA_HOME}/bin/java" "/usr/local/bin/java" \ @@ -64,6 +64,7 @@ RUN mvn -q org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get \ -DrepoUrl="https://repo.maven.apache.org/maven2/" \ -Dartifact="org.sonarsource.scanner.maven:sonar-maven-plugin:${SONAR_SCANNER_MAVEN_PLUGIN_VERSION}:jar" +ENV NODE_PATH="/usr/local/lib/node_modules" ENV PATH="/usr/local/bin:/usr/bin:/bin" LABEL maintainer="Benjamin P. Jung " \