particle-iot/buildpack-install-dependencies

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

Homepage:

Size: 10

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Buildpack installing library dependencies

Build Status [](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.

Building image
cker-compose build
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:

port ACCESS_TOKEN=<VALID_TOKEN>
cker run --rm \
 ~/tmp/input:/input \
 ~/tmp/output:/output \
 ACCESS_TOKEN=$ACCESS_TOKEN \
rticle/buildpack-install-dependencies
Testing

To run tests use:

cker run --rm \
 ACCESS_TOKEN=$ACCESS_TOKEN \
rticle/buildpack-install-dependencies \
in/run-tests

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.