Develop Bower projects without installing bower. This repository is used to create a Dockerfile that can be used with Continuous Integration tooling to support legacy applications that still use Bower to manage their JavaScript dependencies.
Bower is a dependency management tool that was once a popular way to install JavaScript dependencies in web applications. While Bower is no longer widely used for active projects, there are more than a few age-ed applications that still use Bower.
A pre-built image is available on Docker Hub. It can be run as follows:
Make sure you have your Bower-based project in a directory like /path/to/my-project, and it contains the file /path/to/my-project/bower.json
Run a docker container from that image, and map /path/to/my-project into that container (replace /path/to/my-project with the path to your project).
docker run -v "/path/to/my-project:/home/bower/workspace" jobtarget/ci-bower
This container will run bower install in non-interactive mode and exit.
That's it.
Content type
Image
Digest
Size
170.6 MB
Last updated
almost 7 years ago
docker pull jobtarget/ci-bower