gcc docker images based on Alpine Linux. Available on docker hub here.
This repo contains the Dockerfile for gcc builds using Alpine Linux as base image. The images are focused on optimisation of gcc itself, as well as on keeping the size of the docker image small.
-
Install docker and start docker service.
-
Pull the image
docker pull infinitecoder/gcc:<tag>
where <tag> is version number of gcc (eg: 7.3)
-
To use the image interactively use,
docker run -it -v /home/mydir/:/home/code infinitecoder/gcc:<tag>
This project is licensed under the MIT license. Refer LICENSE for more information.
Thanks to Jonathan Wakely for his help to get the gcc build working.