Sign inSign up

particle/buildpack-store

By particle

Updated about 9 years ago

Buildpack storing resulting binaries in Redis

Image
0

5.9K

particle/buildpack-store repository overview

Buildpack storing resulting binaries in Redis

Build Status

This buildpack takes all files from input directory (/input) and stores them in Redis instance.

Building image

$ export BUILDPACK_IMAGE=store
$ git clone "[email protected]:spark/buildpack-${BUILDPACK_IMAGE}.git"
$ cd buildpack-$BUILDPACK_IMAGE
$ docker build -t particle/buildpack-$BUILDPACK_IMAGE .

Running

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 files
  • REDIS_URL - URL to Redis instance
  • REDIS_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

Tag summary

Content type

Image

Digest

Size

157.3 MB

Last updated

about 9 years ago

docker pull particle/buildpack-store