Buildpack storing resulting binaries in Redis
5.9K
This buildpack takes all files from input directory (/input) and stores them in Redis instance.
$ export BUILDPACK_IMAGE=store
$ git clone "[email protected]:spark/buildpack-${BUILDPACK_IMAGE}.git"
$ cd buildpack-$BUILDPACK_IMAGE
$ docker 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 minutes$ docker run --rm \
-v ~/tmp/input:/input \
-e REDIS_URL="redis://192.168.0.10:6379" \
-e DRAY_JOB_ID="job-1" \
particle/buildpack-store
Content type
Image
Digest
Size
157.3 MB
Last updated
about 9 years ago
docker pull particle/buildpack-store