From 53122792f3c55f916636279a14eab5a267864312 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Thu, 5 Jan 2023 14:36:55 +0900 Subject: [PATCH] Add README section for docker image --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index d052f3b..d74cc3c 100644 --- a/README.md +++ b/README.md @@ -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.*` 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 This repository does not yet support C++ exceptions. C++ code is