fix: this is why we need to test things before commit
Build Container Image / build_emscripten_amd64 (push) Successful in 38s Details
Build Container Image / build_wasi_amd64 (push) Successful in 38s Details
Build Container Image / build_emscripten (push) Successful in 1m31s Details
Build Container Image / build_wasi (push) Successful in 52s Details
Build Container Image / push_emscripten_amd64 (push) Successful in 1m25s Details
Build Container Image / push_wasi_amd64 (push) Successful in 1m5s Details
Build Container Image / push_emscripten (push) Successful in 1m21s Details
Build Container Image / build_latest_amd64 (push) Successful in 42s Details
Build Container Image / build_latest (push) Successful in 11s Details
Build Container Image / push_wasi (push) Successful in 1m23s Details
Build Container Image / update_readme (push) Successful in 14s Details
Build Container Image / push_latest_amd64 (push) Successful in 1m26s Details
Build Container Image / push_latest (push) Successful in 28s Details

This commit is contained in:
Daniel Wolf 2024-03-31 17:43:21 -04:00
parent daee2fb295
commit f0f488a52a
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ WORKDIR /opt
RUN curl https://wasmtime.dev/install.sh -sSf | bash \
&& curl -LO "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION}.0-linux.tar.gz" \
&& tar -xvzf "wasi-sdk-${WASI_VERSION}.0-linux.tar.gz" \
&& mv "wasi-sdk-${WASI_VERSION}.0 wasi-sdk" \
&& mv "wasi-sdk-${WASI_VERSION}.0" wasi-sdk \
&& cp -nrvs /opt/wasi-sdk/share/cmake/Platform/. "/usr/share/$(ls /usr/share/ | grep -E 'cmake-[0-9]' | tail -1)/Modules/Platform/" \
&& rm -rf /tmp/* /var/tmp/* "/opt/wasi-sdk-${WASI_VERSION}.0-linux.tar.gz"
ENV WASI_SDK_PREFIX=/opt/wasi-sdk WASMTIME_HOME=/root/.wasmtime

View File

@ -10,7 +10,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG WASI_VERSION=21
WORKDIR /opt
# hadolint ignore=SC2010
RUN curl https://wasmtime.dev/install.sh -sSf | bash
RUN curl https://wasmtime.dev/install.sh -sSf | bash \
&& curl -LO "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION}.0-linux.tar.gz" \
&& tar -xvzf "wasi-sdk-${WASI_VERSION}.0-linux.tar.gz" \
&& mv "wasi-sdk-${WASI_VERSION}.0" wasi-sdk \