Sign inSign up

particle/buildpack-install-dependencies

By particle

Updated 4 days ago

Buildpack installing project dependencies

Image
0

10K+

particle/buildpack-install-dependencies repository overview

Buildpack installing library dependencies

Build Status

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 "[email protected]: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

Tag summary

Content type

Image

Digest

Size

179.8 MB

Last updated

over 8 years ago

docker pull particle/buildpack-install-dependencies