Skip to content

Commit

Permalink
undrafted release
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed May 9, 2024
1 parent 738859e commit 0d1645f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN cd ./modules/oas-page-builder \
# where repo work will happen
FROM ubuntu:20.04
ARG WORK_DIRECTORY=/home/docsworker-xlarge
ARG SNOOTY_PARSER_VERSION=0.16.7-beta
ARG SNOOTY_PARSER_VERSION=0.16.7-b
ARG SNOOTY_FRONTEND_VERSION=0.16.13
ARG MUT_VERSION=0.11.2
ARG REDOC_CLI_VERSION=1.2.3
Expand All @@ -48,7 +48,7 @@ RUN apt-get install --yes build-essential
RUN npm install -g npm@8

# install snooty parser
RUN curl -L -o snooty-parser.zip https://github.com/mongodb/snooty-parser/releases/download/untagged-b592d959b3c7570fd95a/snooty-v0.16.7-beta-linux_x86_64.zip \
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

# install mut
Expand All @@ -75,7 +75,7 @@ ENV PATH="${WORK_DIRECTORY}/.cargo/bin:${PATH}"
RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/shared.mk -o shared.mk

# install snooty frontend and docs-tools
RUN git clone -b DOP-4594-slug-breadcrumblabel --depth 1 https://github.com/mongodb/snooty.git \
RUN git clone -b fix-breadcrumb-links --depth 1 https://github.com/mongodb/snooty.git \
&& cd snooty \
# Need to remove omit dev as the filter functionality for the frontend depends on a dev dependency.
&& npm ci --legacy-peer-deps \
Expand Down

0 comments on commit 0d1645f

Please sign in to comment.