Skip to content

igm/noop-buildpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

noop-buildpack

Empty buildpack that does nothing. It just waits. The idea is that the app deployed to PWS will bootstrap itself via scripts stored in ".profile.d" directory. If you have a binary that is runnable directly, just start it in your start.sh (or other) script. There's no need to use any buildpack in that case.

Usage

$ mkdir app
$ cd app
$ mkdir .profile.d
$ touch .profile.d/start.sh
$ chmod +x .profile.d/start.sh
$ vim .profile.d/start.sh   # edit start.sh to your liking, WD is the parent directory of the app folder, 
                            # i.e. to start some binary from root of the project use app/<binary>
                            # use any linux64 binaries
$ cf push my-app -b https://github.com/igm/noop-buildpack

Sample

Sample demo project that uses noop-buildpack for serving static files can be found here: https://github.com/igm/static-files-demo

About

Empty buildpack that does nothing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages