Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 73d4858

Browse files
authored
DOP-3460: Update tag version used for redoc-cli (#761)
1 parent 2243f27 commit 73d4858

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Dockerfile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ RUN cd ./modules/oas-page-builder \
2323
FROM ubuntu:20.04
2424
ARG SNOOTY_PARSER_VERSION=0.13.16
2525
ARG 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
2927
ARG NPM_BASE_64_AUTH
3028
ARG NPM_EMAIL
3129
ENV 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

0 commit comments

Comments
 (0)