Sign inSign up

jubilee2/alpine-compiler-base

By jubilee2

•Updated about 6 years ago

Image
0

593

jubilee2/alpine-compiler-base repository overview

Docker Stars Docker Pulls

⁠C (GCC) Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains C compiler⁠ (GCC package). gfortran⁠ python2 (include pip)⁠

Download size of this image is only:

NOTE: If you are looking for C++ (GCC) Docker image, there is one: frolvlad/alpine-gxx⁠

⁠Usage Example

$ echo -e '#include <stdio.h>\nint main() { printf("Hello World\\n"); }' > qq.c
$ docker run --rm -v `pwd`:/tmp frolvlad/alpine-gcc gcc --static /tmp/qq.c -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'!

Tag summary

Content type

Image

Digest

Size

90.3 MB

Last updated

almost 7 years ago

docker pull jubilee2/alpine-compiler-base