ballerina/jvm-runtime

By ballerina

Updated 4 days ago

This repository contains the base image required for Ballerina Code to Cloud (c2c) implementation.

Image
Languages & Frameworks
Integration & Delivery
Developer Tools
1

500K+

ballerina logo

This repository contains the base image required for the Ballerina Code to Cloud module.

Dockerfile
Usage Sample:
import ballerina/http;
import ballerina/log;

listener http:Listener helloEP = new(9090);

service /helloWorld on helloEP {
    resource function get sayHello() returns string {
        return "Hello, World from service helloWorld ! ";
    }
}

Build the program with --cloud=k8s or --cloud=docker build option.

$ bal build --cloud=k8s <source_file>.bal 

Refer samples for more info.

Docker Pull Command

docker pull ballerina/jvm-runtime