This repository was archived by the owner on Aug 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ RUN cd ./modules/oas-page-builder \
2323FROM ubuntu:20.04
2424ARG SNOOTY_PARSER_VERSION=0.13.16
2525ARG SNOOTY_FRONTEND_VERSION=0.13.36
26- # The Redoc CLI branch will most likely stay static. Updates to the branch should
27- # be limited to CLI bug fixes and Redoc dependency version bumps
28- ARG REDOC_CLI_VERSION=0.2.0
26+ ARG REDOC_CLI_VERSION=1.0.0
2927ARG NPM_BASE_64_AUTH
3028ARG NPM_EMAIL
3129ENV DEBIAN_FRONTEND=noninteractive
@@ -83,14 +81,12 @@ RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongod
8381 && mv ./docs-tools/themes/mongodb/static ./static/docs-tools \
8482 && mv ./docs-tools/themes/guides/static/images/bg-accent.svg ./static/docs-tools/images/bg-accent.svg
8583
86-
8784# install redoc fork
88- RUN git clone -b redoc-cli@${REDOC_CLI_VERSION} --depth 1 https://github.com/mongodb-forks/redoc.git redoc \
85+ RUN git clone -b @dop/ redoc-cli@${REDOC_CLI_VERSION} --depth 1 https://github.com/mongodb-forks/redoc.git redoc \
8986 # Install dependencies for Redoc CLI
90- && cd redoc/cli \
91- && npm ci --omit=dev \
87+ && cd redoc/ \
88+ && npm ci --prefix cli/ -- omit=dev \
9289 # Install dependencies for Redoc component and building/compiling
93- && cd ../ \
9490 && npm ci --omit=dev --ignore-scripts \
9591 && npm run compile:cli
9692
You can’t perform that action at this time.
0 commit comments