Buildpack installing project dependencies
10K+
This buildpack runs particle library install --vendor command inside of user sources which installs all dependencies inside of the project.
$ 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 .
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
To run tests use:
$ docker run --rm \
particle/buildpack-install-dependencies \
/bin/run-tests
Content type
Image
Digest
Size
179.8 MB
Last updated
over 8 years ago
docker pull particle/buildpack-install-dependencies