Public | Automated Build

Last pushed: a month ago
Short Description
gcc and gfortran built from latest gcc git source.
Full Description


This repository has the Dockerfile for source build of gcc 7.

Currently gcc 6+ is required to run many Fortran 2003/2008 programs successfully due
to bugs in earlier versions. Also includes standard openmpi and lapack libraries,
plus basic build tools.

There is a gcc6 branch for the latest stable gcc6 instead.

Corresponding auto-build docker available at


To make an interactive shell ready for compiling you local code at /local/code/source

docker run -v /local/code/source:/virtual/path -i -t cmbant/docker-gcc-build /bin/bash

Navigating into /virtual/path in the bash shell, you can then run make etc as normal, acting
on your local files.

Docker Pull Command
Source Repository