DEPRECATED - Ballerina Platform distribution Docker image.
3.0K
Dockerfile linksWhere to get help: https://ballerina.io/help/
Maintained by: The Ballerina Community
A programming language and runtime co-designed to be agile and integration simple.
The future apps we write increasingly depend upon programmable endpoints. The discipline of resilient communication between endpoints is integration. It is a domain of hard problems.
Ballerina is a simple programming language whose syntax and runtime address the hard problems of integration. Ballerina is a general purpose, concurrent, transactional, statically and strongly typed programming language with both textual and graphical syntaxes. Its specialization is integration - it brings fundamental concepts, ideas and tools of distributed system integration into the language and offers a type safe, concurrent environment to implement such applications. These include distributed transactions, reliable messaging, stream processing, workflows and container management platforms.
Refer Ballerina Philosophy and Ballerina Documentation for more info.
docker run -v <path to ballerina source directory>:/home/ballerina -it ballerina/ballerina-platform:<tag> ballerina build <.bal(x) file name>
eg:-
Following command build the demo.bal file in current directory.
docker run -v `pwd`:/home/ballerina -it ballerina/ballerina-platform:0.970.1 ballerina build demo.bal
The compiled artifacts (demo.balx) will be created in the current working directory.
docker run -v <path to ballerina source directory>:/home/ballerina -it ballerina/ballerina-platform:<tag> ballerina run <.bal(x) file name>
eg:-
Following command runs the demo.bal file in current directory.
docker run -v `pwd`:/home/ballerina -it ballerina/ballerina-platform:0.970.1 ballerina run demo.bal
docker run -v `pwd`:/home/ballerina -d -p 9091:9091 ballerina/ballerina-platform:0.970.1 composer --host 0.0.0.0
http://127.0.0.1:9091/./home/ballerina. Therefore, the composer can read/write files in current directory.View Ballerina license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
Size
258.8 MB
Last updated
about 8 years ago
docker pull ballerina/ballerina-platform