Cloud native buildpack for GnuCOBOL https://www.gnu.org/software/gnucobol
Prerequisites
Make sure you have docker and pack running:
$ docker run hello-world
$ pack --version
Grab some sample cobol and set a builder that uses this cobol-buildpack:
git clone https://github.com/dashaun/cobol-hello-world
cd cobol-hello-world
pack set-default-builder dashaun/cnb-buildpack:bionic
pack build helloworld --path ./
docker run -it helloworld
You just compiled cobol using a cloud native buildpack, and created a docker image to run the cobol!
$ pack package-buildpack dashaun/cobol-buildpack --package-config package/package.toml
Successfully created package dashaun/cobol-buildpack
$
$ pack package-buildpack dashaun/cobol-buildpack --package-config package/package.toml --publish
Successfully published package dashaun/cobol-buildpack
$
On Docker Hub dashaun/cobol-buildpack
Currently supports GnuCOBOL version 3.1-dev