Fn Docker Init Image for creating Groovy functions
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Dockerfile
Dockerfile-groovy-init
LICENSE
README.md
func.init.yaml
groovy-init.tar

README.md

Simple Fn Docker Init Image for creating Groovy functions

For more details on init-image, see here and here.

Tar all the functions boilerpaltes

tar -cf groovy-init.tar Dockerfile func.init.yaml src

Build the Docker init-image that will spit out that boilerplate tar

docker build -t groovy-init -f Dockerfile-groovy-init .

Test the init-image

fn init --init-image=groovy-init myfunc fn run myfunc