Public Repository

Last pushed: 6 months ago
Short Description
Buildpack installing project dependencies
Full Description

Buildpack installing library dependencies

This buildpack runs particle library install --vendor command inside of user sources which installs all dependencies inside of the project.

Building image

$ export BUILDPACK_IMAGE=install-dependencies
$ git clone "git@github.com:spark/buildpack-${BUILDPACK_IMAGE}.git"
$ cd buildpack-$BUILDPACK_IMAGE
$ docker build -t particle/buildpack-$BUILDPACK_IMAGE .

Running

Provided you have a project with dependencies in ~/tmp/input directory running following command will install those and save both project and dependencies in ~/tmp/output:

$ docker run --rm \
  -v ~/tmp/input:/input \
  -v ~/tmp/output:/output \
  particle/buildpack-install-dependencies

Testing

To run tests use:

$ docker run --rm \
  particle/buildpack-install-dependencies \
  /bin/run-tests
Docker Pull Command
Owner
particle

Comments (0)