Przeglądaj źródła

Merge pull request #141 from pesho/master

Add docs for io.js
yosifkit 10 lat temu
rodzic
commit
e4d3161cb8
6 zmienionych plików z 117 dodań i 0 usunięć
  1. 1 0
      iojs/README-short.txt
  2. 78 0
      iojs/README.md
  3. 35 0
      iojs/content.md
  4. 2 0
      iojs/license.md
  5. BIN
      iojs/logo.png
  6. 1 0
      update.sh

+ 1 - 0
iojs/README-short.txt

@@ -0,0 +1 @@
+io.js is an npm compatible platform originally based on node.js

+ 78 - 0
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.

+ 35 - 0
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
+```

+ 2 - 0
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.

BIN
iojs/logo.png


+ 1 - 0
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'