Merge pull request #17 from iojs/nproc Use half of cores available on machine.
Merge pull request #17 from iojs/nproc
Use half of cores available on machine.
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
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.
-v
If you want to build libuv use this command:
libuv
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-trusty
iojs
ubuntu-lucid
ubuntu-precise
debian-stable
debian-testing
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:
iojs-debian-testing
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}
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
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
This will download already built images from iojs’s Docker hub repo and build io.js from the source set on the
-voption.If you want to build
libuvuse this command:The
ubuntu-trustyat the end can be changed by any of the following for eitherlibuvandiojs:ubuntu-lucidubuntu-preciseubuntu-trustydebian-stabledebian-testingBuilding your own images
If you want to build
iojson a debian testing container then from the root of this repo run:This will create an image called
iojs-debian-testingand you can run it doing:For reference, the Jenkins build server for io.js runs the following command: