Skip to content

Commit b6b05f0

Browse files
committed
replace wasm32-wasi -> wasm32-wasip1
1 parent 88b9d50 commit b6b05f0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN cd ./modules/oas-page-builder \
2323
FROM ubuntu:20.04
2424
ARG WORK_DIRECTORY=/home/docsworker-xlarge
2525
ARG SNOOTY_PARSER_VERSION=0.18.10
26-
ARG SNOOTY_FRONTEND_VERSION=0.18.15
26+
ARG SNOOTY_FRONTEND_VERSION=0.18.15-b
2727
ARG MUT_VERSION=0.11.4
2828
ARG REDOC_CLI_VERSION=1.3.4
2929
ARG NPM_BASE_64_AUTH
@@ -64,7 +64,7 @@ USER docsworker-xlarge
6464
WORKDIR ${WORK_DIRECTORY}
6565

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

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

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

9191

Dockerfile.local

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM arm64v8/ubuntu:20.04 as initial
22
ARG NPM_BASE_64_AUTH
33
ARG NPM_EMAIL
44
ARG SNOOTY_PARSER_VERSION=0.18.10
5-
ARG SNOOTY_FRONTEND_VERSION=0.18.15
5+
ARG SNOOTY_FRONTEND_VERSION=0.18.15-b
66
ARG MUT_VERSION=0.11.4
77
ARG REDOC_CLI_VERSION=1.3.4
88
ARG NPM_BASE_64_AUTH
@@ -69,7 +69,7 @@ RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongod
6969
&& npm ci --legacy-peer-deps \
7070
&& cd component-factory-transformer \
7171
&& cargo build \
72-
&& rustup target add wasm32-wasi \
72+
&& rustup target add wasm32-wasip1 \
7373
&& npm run prepublishOnly
7474

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

0 commit comments

Comments
 (0)