Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (16 sloc) 527 Bytes
#!/bin/bash
set -eu
# see https://docs.cloudfoundry.org/buildpacks/understand-buildpacks.html#supply-script
BUILD_DIR=$1
CACHE_DIR=$2
DEPS_DIR=$3
BUILDPACK_INDEX=$4
buildpack=$(cd "$(dirname $0)/.." && pwd)
cd $buildpack
echo "-----> Installing config-server v$(cat .version)"
echo " BUILD_DIR: $BUILD_DIR"
echo " CACHE_DIR: $CACHE_DIR"
echo " DEPS_DIR: $DEPS_DIR"
echo " BUILDPACK_INDEX: $BUILDPACK_INDEX"
curl -sSf $(cat .downloadurl) -o $BUILD_DIR/config-server
chmod +x $BUILD_DIR/config-server
You can’t perform that action at this time.