Docker Image for programming language Fortran 95.
You can manually build image by below commands.
$ git clone nacyot/docker-programming-languages
$ cd docker-programming-languages/fortran-gfortran-apt
$ docker build -t nacyot/fortran-gfortran:apt .
It take so long to complete install process. You can also pull image from docker hub.
$ docker pull -t nacyot/fortran-gfortran:apt
$ docker run --rm -i -t -v $(pwd):/source nacyot/fortran-gfortran:apt gfortran --version
GNU Fortran (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
$ docker run --rm -i -t -v $(pwd):/source nacyot/fortran-gfortran:apt gfortran -o hello_world /source/hello_world.f
$ docker run --rm -i -t -v $(pwd):/source nacyot/fortran-gfortran:apt ./hello_world
Hello, World!
program hello
print *, "Hello World!"
end program hello
Content type
Image
Digest
sha256:1d77e593f…
Size
248.6 MB
Last updated
almost 11 years ago
docker pull nacyot/fortran-gfortran:apt