Sign inSign up

hypriot/rpi-iojs

By hypriot

•Updated almost 11 years ago

RPi-compatible Docker Image with io.js

Image
15

6.5K

hypriot/rpi-iojs repository overview

⁠rpi-iojs

Raspberry Pi compatible Docker base image with io.js⁠.

⁠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 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

⁠License

View license⁠ information for the software contained in this image.

Tag summary

Content type

Image

Digest

sha256:ad1a18a17…

Size

99.5 MB

Last updated

almost 11 years ago

docker pull hypriot/rpi-iojs