Public | Automated Build

Last pushed: 7 months ago
Short Description
Web app build tools for containerized CI environment or workflow
Full Description

io.js + Bower + Grunt in Docker

This image is based on the offical io.js Docker image. It provides the minimum tools and environment for building web applications.

Supported tags and respective Dockerfile links

(The onbuild-production image forces a production flag on bower install due to the current version hasn't accepted it via environment variable yet. However, there is no forced production flag on npm install, since most people use grunt which is installed as devDependencies.)

Examples

Following commands are examples that show you how to develop your application inside a container environment or run it inside the same environment on CI. (Some arguments may not be required depending on your actual use case.)

docker run -it --rm -v "$(pwd)":/data killercentury/iojs-bower-grunt npm install
docker run -it --rm -v "$(pwd)":/data -e CI=true killercentury/iojs-bower-grunt bower install --allow-root --config.storage.packages="/data/.bower/cache"
docker run -it --rm -v "$(pwd)":/data killercentury/iojs-bower-grunt grunt --no-color
docker run -it --rm -v "$(pwd)":/data killercentury/iojs-bower-grunt iojs app.js

This Docker image will be updated automatically once there is new version of io.js being pushed to the Docker Hub. However, it only contains the latest version for the time being.

Docker Pull Command
Owner
killercentury

Comments (0)