Name: buildpack-install-dependencies
Owner: Particle
Description: Buildpack installing project dependencies
Created: 2016-05-31 14:48:06.0
Updated: 2016-11-03 17:53:46.0
Pushed: 2018-03-10 14:39:25.0
Size: 10
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
[](https://imagelayers.io/?images=particle/buildpack-install-dependencies:latest 'Get your own badge on imagelayers.io')
This buildpack runs particle library install --vendor
command inside of user sources which installs all dependencies inside of the project.
cker-compose build
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
:
port ACCESS_TOKEN=<VALID_TOKEN>
cker run --rm \
~/tmp/input:/input \
~/tmp/output:/output \
ACCESS_TOKEN=$ACCESS_TOKEN \
rticle/buildpack-install-dependencies
To run tests use:
cker run --rm \
ACCESS_TOKEN=$ACCESS_TOKEN \
rticle/buildpack-install-dependencies \
in/run-tests