Skip to content

Commit

Permalink
[DOP-4334]: Update npmrc?
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry committed Feb 22, 2024
1 parent 657f1ae commit 68969ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 68969ea

Please sign in to comment.