From 68969eae8419c1e139c5595e416e4fba5b568385 Mon Sep 17 00:00:00 2001 From: branberry Date: Thu, 22 Feb 2024 12:29:25 -0600 Subject: [PATCH] [DOP-4334]: Update npmrc? --- Dockerfile | 3 +-- Dockerfile.local | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b84e16bb..ddbfae7d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,6 @@ ARG SNOOTY_PARSER_VERSION=0.15.2 ARG SNOOTY_FRONTEND_VERSION=0.15.7 ARG MUT_VERSION=0.10.7 ARG REDOC_CLI_VERSION=1.2.3 -ARG NPM_BASE_64_AUTH ARG NPM_EMAIL ARG WORK_DIRECTORY=/home/docsworker-xlarge @@ -22,7 +21,7 @@ RUN apt-get install --yes curl RUN curl --location https://deb.nodesource.com/setup_18.x | bash - RUN apt-get install --yes nodejs RUN apt-get install --yes build-essential - +RUN echo //artifactory.corp.mongodb.com/artifactory/api/npm/:_auth=${NPM_BASE_64_AUTH} >> ~/.npmrc # install snooty parser RUN curl -L -o snooty-parser.zip https://github.com/mongodb/snooty-parser/releases/download/v${SNOOTY_PARSER_VERSION}/snooty-v${SNOOTY_PARSER_VERSION}-linux_x86_64.zip \ && unzip -d /opt/ snooty-parser.zip diff --git a/Dockerfile.local b/Dockerfile.local index 37fa16fc0..09213b1cd 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -5,7 +5,6 @@ ARG SNOOTY_PARSER_VERSION=0.15.2 ARG SNOOTY_FRONTEND_VERSION=0.15.7 ARG MUT_VERSION=0.10.7 ARG REDOC_CLI_VERSION=1.2.3 -ARG NPM_BASE_64_AUTH ARG NPM_EMAIL ARG WORK_DIRECTORY=/home/docsworker-xlarge