Shell functions to be able to build FORTRAN using gfortran.
function gfortran
docker run --rm -it -v (pwd):/app -u (id -u):(id -g) memborsky/gfortran:latest (status current-command) $argv
end
$ gfortran test.f
$ ./a.out
In order to run built code on your local machine, outside of the container, you will need to install libgfortran3.
Content type
Image
Digest
Size
77.1 MB
Last updated
over 7 years ago
docker pull memborsky/gfortran