diff --git a/iojs/README-short.txt b/iojs/README-short.txt new file mode 100644 index 000000000..03306a3ac --- /dev/null +++ b/iojs/README-short.txt @@ -0,0 +1 @@ +io.js is an npm compatible platform originally based on node.js diff --git a/iojs/README.md b/iojs/README.md new file mode 100644 index 000000000..d3f93d4b5 --- /dev/null +++ b/iojs/README.md @@ -0,0 +1,78 @@ +# Supported tags and respective `Dockerfile` links + + + +For more information about this image and its history, please see the [relevant +manifest file +(`library/iojs`)](https://github.com/docker-library/official-images/blob/master/library/iojs) +in the [`docker-library/official-images` GitHub +repo](https://github.com/docker-library/official-images). + +## What is io.js? +*from [iojs.org/faq.html](https://iojs.org/faq.html)* + +io.js is a JavaScript platform built on Chrome's V8 runtime. This project began as a fork of Joyent's Node.js™ and is compatible with the npm ecosystem. + +Why? io.js aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries. + +This project aims to continue development of io.js under an "open governance model" as opposed to corporate stewardship. + +![logo](https://raw.githubusercontent.com/docker-library/docs/master/iojs/logo.png) + +# How to use this image + +If you want to distribute your application on the docker registry, create a `Dockerfile` in the root of application directory: + +``` +FROM iojs:onbuild + +# Expose the ports that your app uses. In Example: +EXPOSE 8080 +``` + +Then simply run: + +``` +$ docker build -t iojs-app +... +$ docker run --rm -it iojs-app +``` + +To run a single script, you can mount it in a volume under `/usr/src/app`. From the root of your application directory (assuming your script is named `index.js`): + +``` +$ docker run -v ${PWD}:/usr/src/app -w /usr/src/app --it --rm iojs iojs index.js +``` + +# License + +View [license information](https://github.com/iojs/io.js/blob/master/LICENSE) +for the software contained in this image. + +# Supported Docker versions + +This image is officially supported on Docker version 1.4.1. + +Support for older versions (down to 1.0) is provided on a best-effort basis. + +# User Feedback + +## Issues + +If you have any problems with or questions about this image, please contact us + through a [GitHub issue](https://github.com/iojs/docker-iojs/issues). + +You can also reach many of the official image maintainers via the +`#docker-library` IRC channel on [Freenode](https://freenode.net). + +## Contributing + +You are invited to contribute new features, fixes, or updates, large or small; +we are always thrilled to receive pull requests, and do our best to process them +as fast as we can. + +Before you start to code, we recommend discussing your plans +through a [GitHub issue](https://github.com/iojs/docker-iojs/issues), especially for more ambitious +contributions. This gives other contributors a chance to point you in the right +direction, give you feedback on your design, and help you find out if someone +else is working on the same thing. diff --git a/iojs/content.md b/iojs/content.md new file mode 100644 index 000000000..6a8386380 --- /dev/null +++ b/iojs/content.md @@ -0,0 +1,35 @@ +## What is io.js? +*from [iojs.org/faq.html](https://iojs.org/faq.html)* + +io.js is a JavaScript platform built on Chrome's V8 runtime. This project began as a fork of Joyent's Node.js™ and is compatible with the npm ecosystem. + +Why? io.js aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries. + +This project aims to continue development of io.js under an "open governance model" as opposed to corporate stewardship. + +%%LOGO%% + +# How to use this image + +If you want to distribute your application on the docker registry, create a `Dockerfile` in the root of application directory: + +``` +FROM iojs:onbuild + +# Expose the ports that your app uses. In Example: +EXPOSE 8080 +``` + +Then simply run: + +``` +$ docker build -t iojs-app +... +$ docker run --rm -it iojs-app +``` + +To run a single script, you can mount it in a volume under `/usr/src/app`. From the root of your application directory (assuming your script is named `index.js`): + +``` +$ docker run -v ${PWD}:/usr/src/app -w /usr/src/app --it --rm iojs iojs index.js +``` diff --git a/iojs/license.md b/iojs/license.md new file mode 100644 index 000000000..34c5eb434 --- /dev/null +++ b/iojs/license.md @@ -0,0 +1,2 @@ +View [license information](https://github.com/iojs/io.js/blob/master/LICENSE) +for the software contained in this image. diff --git a/iojs/logo.png b/iojs/logo.png new file mode 100644 index 000000000..68ad337da Binary files /dev/null and b/iojs/logo.png differ diff --git a/update.sh b/update.sh index 50dd5828d..0ae908e6e 100755 --- a/update.sh +++ b/update.sh @@ -32,6 +32,7 @@ declare -A otherRepos=( [haskell]='https://github.com/darinmorrison/docker-haskell' [hipache]='https://github.com/dotcloud/hipache' [hylang]='https://github.com/hylang/hy' + [iojs]='https://github.com/iojs/docker-iojs' [jenkins]='https://github.com/cloudbees/jenkins-ci.org-docker' [jruby]='https://github.com/cpuguy83/docker-jruby' [mageia]='https://github.com/juanluisbaptiste/docker-brew-mageia'