Skip to content

Docker-Hub-frolvlad/docker-alpine-gxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Stars Docker Pulls

C/C (GCC) Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains C/C compilers (gcc/g packages).

Download size of this image is only:

Usage Example

$ echo -e '#include <iostream>\nint main() { std::cout << "Hello World\\n"; }' > qq.cpp
$ docker run --rm -v `pwd`:/tmp frolvlad/alpine-gxx c   --static /tmp/qq.cpp -o /tmp/qq

Once you have run these commands you will have qq executable in your current directory and if you execute it, you will get printed 'Hello World'!

Releases

No releases published

Packages

No packages published