Add README section for docker image

pull/282/head
Anuraag Agrawal 3 years ago
parent cee312d6d0
commit 53122792f3

@ -81,6 +81,21 @@ For convenience when building packages that aren't yet updated, updated
config.sub and config.guess files are installed at `share/misc/config.*` config.sub and config.guess files are installed at `share/misc/config.*`
in the install directory. in the install directory.
## Docker Image
We provide a [docker image](https://github.com/orgs/WebAssembly/packages/container/wasi-sdk)
including wasi-sdk that can be used for building projects without a
separate installation of the SDK. Autotools, CMake, and Ninja are included
in this image, and standard environment variables are set to use wask-sdk
for building.
For example, this command can build a make-based project with the Docker
image.
```
docker run -v `pwd`:/src -w /src ghcr.io/webassembly/wasi-sdk make
```
## Notable Limitations ## Notable Limitations
This repository does not yet support C++ exceptions. C++ code is This repository does not yet support C++ exceptions. C++ code is

Loading…
Cancel
Save