Skip to content

Add docs for io.js #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions iojs/README-short.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
io.js is an npm compatible platform originally based on node.js
78 changes: 78 additions & 0 deletions iojs/README.md
Original file line number Diff line number Diff line change
@@ -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://github.com/raw/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.
35 changes: 35 additions & 0 deletions iojs/content.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 2 additions & 0 deletions iojs/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
View [license information](https://github.com/iojs/io.js/blob/master/LICENSE)
for the software contained in this image.
Binary file added iojs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down