https://github.com/nodejs/build-containers
Docker images used to test pull requests from untrusted sources
https://github.com/nodejs/build-containers
Last synced: 10 months ago
JSON representation
Docker images used to test pull requests from untrusted sources
- Host: GitHub
- URL: https://github.com/nodejs/build-containers
- Owner: nodejs
- Archived: true
- Created: 2014-10-16T08:22:16.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-03T06:25:14.000Z (over 11 years ago)
- Last Synced: 2024-10-29T16:13:29.435Z (over 1 year ago)
- Size: 336 KB
- Stars: 29
- Watchers: 42
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://registry.hub.docker.com/u/iojs/build/)
[](https://github.com/iojs/build-containers/issues)
iojs/build
===
These images are used to verify pull requests against [https://github.com/iojs/io.js](https://github.com/iojs/io.js)
For more information, please refer to: [https://github.com/iojs/build](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](https://registry.hub.docker.com/u/iojs/build/) 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-lucid`
- `ubuntu-precise`
- `ubuntu-trusty`
- `debian-stable`
- `debian-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}