RPi-compatible Docker Image with io.js
6.5K
Dockerfile links1.6.4, 1.6, 1, latest (1.6/Dockerfile)1.6.4-onbuild, 1.6-onbuild, 1-onbuild, onbuild (1.6/onbuild/Dockerfile)1.6.4-slim, 1.6-slim, 1-slim, slim (1.6/slim/Dockerfile)Raspberry Pi compatible Docker base image with io.js.
If you want to distribute your application on the docker registry, create a Dockerfile in the root of application directory:
FROM hypriot/rpi-iojs:onbuild
# Expose the ports that your app uses. For example:
EXPOSE 8080
Then simply run:
$ docker build -t rpi-iojs-app .
...
$ docker run --rm -it rpi-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 hypriot/rpi-iojs iojs index.js
View license information for the software contained in this image.
Content type
Image
Digest
sha256:ad1a18a17…
Size
99.5 MB
Last updated
almost 11 years ago
docker pull hypriot/rpi-iojs