build-containers
build-containers copied to clipboard
Docker images used to test pull requests from untrusted sources
iojs/build
These images are used to verify pull requests against https://github.com/iojs/io.js
For more information, please refer to: https://github.com/iojs/build
How to use
Quick
docker run -itv /local/path/to/iojs:/opt/iojs --rm iojs/build:iojs-ubuntu-trusty
This will download already built images from iojs's Docker hub repo and build io.js from the source set on the -v option.
If you want to build libuv use this command:
docker run -itv /local/path/to/libuv:/opt/libuv --rm iojs/build:libuv-ubuntu-trusty
The ubuntu-trusty at the end can be changed by any of the following for either libuv and iojs:
ubuntu-lucidubuntu-preciseubuntu-trustydebian-stabledebian-testing
Building your own images
If you want to build iojs on a debian testing container then from the root of this repo run:
docker build -t iojs-debian-testing debian/iojs-testing
This will create an image called iojs-debian-testing and you can run it doing:
docker run -itv /path/to/your/iojs/source:/opt/iojs --rm iojs-debian-testing
For reference, the Jenkins build server for io.js runs the following command:
docker run -a stdout -a stderr -t --rm -v `pwd`:/opt/iojs/ iojs/build:iojs-${DISTRO}