wasmedge_wasi_socket 0.5.5

Rust API for the networking socket functions supported in the WasmEdge Runtime for WebAssembly.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND=noninteractive
ARG RUST_TOOLCHAIN=stable

RUN apt update \
    && apt install -y \
        build-essential \
        curl

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH=/root/.cargo/bin:$PATH

RUN rustup update \
    && rustup toolchain install $RUST_TOOLCHAIN \
    && rustup default $RUST_TOOLCHAIN \
    && rustup target add wasm32-wasi --toolchain $RUST_TOOLCHAIN