dockerfile: install wasi-sdk 2 from github release
closes
@@ -21,7 +21,7 @@ RUN apt-get update \
# rebuilds.
ENV LD_LIBRARY_PATH=/usr/local/lib
-RUN curl -L -O https://static.rust-lang.org/dist/rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz \
+RUN curl -sS -L -O https://static.rust-lang.org/dist/rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz \
&& tar xzf rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz \
&& cd rust-1.33.0-x86_64-unknown-linux-gnu \
&& ./install.sh \
@@ -30,6 +30,6 @@ RUN curl -L -O https://static.rust-lang.org/dist/rust-1.33.0-x86_64-unknown-linu
ENV PATH=/usr/local/bin:$PATH
RUN cargo install --root /usr/local cargo-audit cargo-watch
-RUN curl -O https://moreproductive.org/wasi-sdk/wasi-sdk_2.0_amd64.deb \
+RUN curl -sS -L -O https://github.com/CraneStation/wasi-sdk/releases/download/wasi-sdk-2/wasi-sdk_2.0_amd64.deb \
&& dpkg -i wasi-sdk_2.0_amd64.deb
ENV WASI_SDK=/opt/wasi-sdk
