From e6e119320ae71ce7ef96942c8c5c8206093bdc4c Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Wed, 17 Jun 2020 13:16:41 -0500 Subject: [PATCH] lets try this way --- Dockerfile | 7 +------ lib/.npmrc | 9 --------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 lib/.npmrc diff --git a/Dockerfile b/Dockerfile index a1deafa6..c1347345 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,15 +35,10 @@ RUN apk add --no-cache \ RUN pip3 --no-cache-dir install --upgrade --no-cache-dir \ yamllint pylint yq -################################### -# COPY .npmrc to docker container # -################################### -COPY lib/.npmrc ~/.npmrc - #################### # Run NPM Installs # #################### -RUN npm -g --no-cache install \ +RUN npm config set package-lock false && npm config set loglevel error && npm -g --no-cache install \ markdownlint-cli \ jsonlint prettyjson \ coffeelint \ diff --git a/lib/.npmrc b/lib/.npmrc deleted file mode 100644 index f1e964c2..00000000 --- a/lib/.npmrc +++ /dev/null @@ -1,9 +0,0 @@ -################################ -# .NPMRC file for Super Linter # -################################ - -# Set prefix path -prefix=~/.npm-global - -# Set the log Level to Error only -loglevel=error