t2-compiler
Docker Hub | tessel/t2-compiler
Building Packages
Use vagrant or docker
Vagrant
Install vagrant
vagrant up
./compile-vagrant.sh [email protected]
Look in the 'out' directory
Docker
If you want to use docker you can run;
# puts the output in the `./out` directory (wont overwrite existing files)
./compile-docker.sh [email protected]
# docker run -v ~/Desktop:/out tessel/t2-compiler [package name]<@version>
# eg to put the packages in the current directory (wont overwrite existing files)
docker run -v `pwd`:/out tessel/t2-compiler [email protected] /out
Developing the compiler
Clone this repo, cd into it, make changes to compile-docker.sh and...
docker build -t tessel/t2-compiler ./
docker push tessel/t2-compiler
To get an interactive shell run
docker run -it --entrypoint bash tessel/t2-compiler