blob: 609f02f889b451c0b345e7e10fabfdf9a9ca2315 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.. _docker:
.. highlight:: none
Using with Docker
=================
A docker container exists for easy access to the ``tinygo`` CLI. For example, to
compile ``wasm.wasm`` for the WebAssembly example, from the root of the
repository::
docker run --rm -v $(pwd):/src tinygo/tinygo build -o /src/wasm.wasm -target wasm examples/wasm
Note that you cannot run ``tinygo flash`` from inside the docker container,
so it is less useful for microcontroller development.
|