Name: buildpack-store
Owner: Particle
Description: [DEPRECATED] This is currently implemented in Dray itself
Created: 2016-06-13 14:49:04.0
Updated: 2017-09-21 12:10:42.0
Pushed: 2018-03-10 16:15:06.0
Size: 7
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
[](https://imagelayers.io/?images=particle/buildpack-store:latest 'Get your own badge on imagelayers.io')
This buildpack takes all files from input directory (/input
) and stores them in Redis instance.
port BUILDPACK_IMAGE=store
t clone "git@github.com:spark/buildpack-${BUILDPACK_IMAGE}.git"
buildpack-$BUILDPACK_IMAGE
cker build -t particle/buildpack-$BUILDPACK_IMAGE .
This buildpack is designed to be run by Dray but can be also used outside of it by specifying following environment variables:
DRAY_JOB_ID
- Identifier to be used as key when storing the filesREDIS_URL
- URL to Redis instanceREDIS_EXPIRE_IN
- TTL of stored key in Redis. Defaults to 10 minutescker run --rm \
~/tmp/input:/input \
REDIS_URL="redis://192.168.0.10:6379" \
DRAY_JOB_ID="job-1" \
rticle/buildpack-store