Add Dockerfile

This commit is contained in:
Johan Brandhorst
2018-10-20 23:56:37 +01:00
parent 3d644e6ea8
commit 97caabb8c2
4 changed files with 53 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
.. docker:
.. highlight:: none
Using with Docker
=================
A docker container exists for easy access to the ``tinygo`` CLI.
For example, to compile the blinky example from the root of the repository::
docker run --rm -v $(pwd):/src tinygo/tinygo build -o /src/blinky.elf -target arduino /src/examples/blinky
Note that you cannot run ``tinygo flash`` from inside the docker container,
so it is less useful for microcontroller development.
+1
View File
@@ -12,6 +12,7 @@ Contents:
:maxdepth: 2
installation
docker
targets
microcontrollers
faq