An open API service indexing awesome lists of open source software.

https://github.com/delabassee/fn-kotlin-init-image

Fn Docker Init Image for creating Kotlin functions
https://github.com/delabassee/fn-kotlin-init-image

docker-image fnproject kotlin serverless

Last synced: 3 months ago
JSON representation

Fn Docker Init Image for creating Kotlin functions

Awesome Lists containing this project

README

          

# Fn Docker Init Image for creating Kotlin functions

For more details on *init-image*, see [here](https://medium.com/fnproject/even-wider-language-support-in-fn-with-init-images-a7a1b3135a6e) and [here](https://github.com/fnproject/docs/blob/master/cli/how-to/create-init-image.md).

### Tar all the functions boilerpaltes
`tar -cf kotlin-init.tar Dockerfile func.init.yaml pom.xml src/`

### Build the Docker init-image that will spit out that boilerplate tar
`docker build -t kotlin-init -f Dockerfile-init .`

### Test the init-image
`fn init --init-image=kotlin-init`