Skip to content

Latest commit

 

History

History

kotlin-native-linux-amd64

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

OpenFaaS Kotlin Native (Linux amd64) Template

This template provides support for Kotlin Native (Linux amd64) on OpenFaaS. By using this template a basic Kotlin Native program can be quickly created and included in a Docker image, which is ready to be deployed on OpenFaaS.

Usage

In order to use this template go thorugh the following steps below.

  1. Clone this repository
  2. Change working directory to the cloned repository
  3. Run the following to build a new Kotlin Native Docker image:

docker build --tag hello-kotlin .

  1. Start OpenFaaS
  2. Go to the following web address (in a Web Browser) to access the OpenFaaS Portal: http://127.0.0.1:8080
  3. If a Login dialog appears enter in the username and password for the OpenFaaS instance
  4. Click on Deploy New Function button
  5. Select CUSTOM tab
  6. For Docker image enter in hello-kotlin
  7. For Function name enter in hello-kotlin
  8. Click on DEPLOY button

After completing the steps above you can now try out the Kotlin Native OpenFaaS function (hello-kotlin).