Skip to content

cmplopes/alpine-gfortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmplopes/alpine-gfortran

Docker GNU Fortran, gdb and make over Alpine Linux

$ docker pull cmplopes/alpine-gfortran:[TAG]

Suported Tags

10.3, latest - (gfortran 10.3.1_git20211027-r0 over alpine:3.15) (Dockerfile)

10.2 - (gfortran 10.2.1_pre1-r3 over alpine:3.13) (Dockerfile)

9.3 - (gfortran 9.3.0-r2 over alpine:3.12) (Dockerfile)

8.3 - (gfortran 8.3.0-r0 over alpine:3.10) (Dockerfile)

6.4 - (gfortran 6.4.0-r9 over alpine:3.8) (Dockerfile)

6.3 - (gfortran 6.3.0-r4 over alpine:3.6) (Dockerfile)

6.2 - (gfortran 6.2.1-r1 over alpine:3.5) (Dockerfile)

5.3 - (gfortran 5.3.0-r0 over alpine:3.4) (Dockerfile)

Check GNU Fortran version

$ docker run --rm -it -v $(pwd):/source cmplopes/alpine-gfortran:10.3

or

$ docker run --rm -it -v $(pwd):/source cmplopes/alpine-gfortran:10.3 gfortran --version

Compile, link and run a Fortran program

$ docker run --rm -it -v $(pwd):/source cmplopes/alpine-gfortran:10.3 gfortran -Wall -o test /source/test.f90
$ docker run --rm -it -v $(pwd):/source cmplopes/alpine-gfortran:10.3 ./test

Releases

No releases published

Packages

No packages published