Public Repository

Last pushed: 2 years ago
Short Description
Tiny iojs image using Alpine Linux - only 29 MB
Full Description

Tiny io.js image using Alpine Linux - only 29 MB

docker pull oreng/iojs:latest

git repo: https://github.com/oren/alpine-iojs

Run

git clone git@github.com:oren/alpine-iojs.git
cd alpine-iojs
docker build -t alpine-nodejs .
docker run -v $(pwd):/tmp alpine-nodejs

Run with Docker Compose

git clone git@github.com:oren/alpine-iojs.git
cd alpine-iojs
docker-compose build
docker-compose run web

Dockerfile

FROM alpine:edge
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories 
RUN apk update
RUN apk add --update iojs
RUN apk update
RUN apk upgrade
RUN rm -rf /var/cache/apk/*
ENTRYPOINT ["node", "/tmp/index.js"]
Docker Pull Command
Owner
oreng