This is Fortran HelloWorld example with docker.
- Clone this repository and build docker image.
$ git clone https://github.com/Chanmoro/docker-fortran-helloworld.git
$ cd fortran-helloworld
$ docker build -t fortran .
1 . Run Fortran docker environment.
$ docker run -it --rm -w /app fortran bash
2 . Compile COBOL source code.
(docker)$ gfortran -o hello_world hello_world.f
3 . Run compiled hello_world binary.
(docker)$ ./hello_world
Hello World!
Enjoy Fortran!