Web app build tools for containerized CI environment or workflow
3.7K
This image is based on the offical io.js Docker image. It provides the minimum tools and environment for building web applications.
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.)
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.
Content type
Image
Digest
sha256:ff9ffc14b…
Size
254.1 MB
Last updated
over 9 years ago
docker pull killercentury/iojs-bower-grunt