Docker Hub | tessel/t2-compiler
Use vagrant or docker
Install vagrant
vagrant up
./compile-vagrant.sh serialport@2.0.5
Look in the 'out' directory
If you want to use docker you can run;
# puts the output in the `./out` directory (wont overwrite existing files)
./compile-docker.sh serialport@4.0.0
# 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 serialport@4.0.0 /out
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