Skip to content

Commit

Permalink
replace wasm32-wasi -> wasm32-wasip1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Jan 9, 2025
1 parent 88b9d50 commit b6b05f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN cd ./modules/oas-page-builder \
FROM ubuntu:20.04
ARG WORK_DIRECTORY=/home/docsworker-xlarge
ARG SNOOTY_PARSER_VERSION=0.18.10
ARG SNOOTY_FRONTEND_VERSION=0.18.15
ARG SNOOTY_FRONTEND_VERSION=0.18.15-b
ARG MUT_VERSION=0.11.4
ARG REDOC_CLI_VERSION=1.3.4
ARG NPM_BASE_64_AUTH
Expand Down Expand Up @@ -64,7 +64,7 @@ USER docsworker-xlarge
WORKDIR ${WORK_DIRECTORY}

# Get Rust
RUN curl --proto '=https' --tls1.2 -sSf https://sh.rustup.rs/ | sh -s -- --default-toolchain=1.77.0 -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

RUN chmod -R 777 ${WORK_DIRECTORY}/.cargo/bin

Expand All @@ -85,7 +85,7 @@ RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongod
&& mv ./docs-tools/themes/guides/static/images/bg-accent.svg ./static/docs-tools/images/bg-accent.svg \
&& cd component-factory-transformer \
&& cargo build \
&& rustup target add wasm32-wasi \
&& rustup target add wasm32-wasip1 \
&& npm run prepublishOnly


Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM arm64v8/ubuntu:20.04 as initial
ARG NPM_BASE_64_AUTH
ARG NPM_EMAIL
ARG SNOOTY_PARSER_VERSION=0.18.10
ARG SNOOTY_FRONTEND_VERSION=0.18.15
ARG SNOOTY_FRONTEND_VERSION=0.18.15-b
ARG MUT_VERSION=0.11.4
ARG REDOC_CLI_VERSION=1.3.4
ARG NPM_BASE_64_AUTH
Expand Down Expand Up @@ -69,7 +69,7 @@ RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongod
&& npm ci --legacy-peer-deps \
&& cd component-factory-transformer \
&& cargo build \
&& rustup target add wasm32-wasi \
&& rustup target add wasm32-wasip1 \
&& npm run prepublishOnly

RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/shared.mk -o shared.mk
Expand Down

0 comments on commit b6b05f0

Please sign in to comment.