Sign inSign up

lukeyoo/gcc-image

By lukeyoo

•Updated over 1 year ago

Image of Linux with gcc and relevant tooling preinstalled.

Image
0

719

lukeyoo/gcc-image repository overview

⁠Start

docker pull lukeyoo/gcc-image:latest
docker run --name 'my-gcc-container' -it --rm 'lukeyoo/gcc-image' bash

(gcc-container:/workspace) gcc --version
(gcc-container:/workspace) echo '#include <stdio.h>' > hello.c
(gcc-container:/workspace) echo 'int main() { printf("Hello, World!\n"); return 0; }' >> hello.c
(gcc-container:/workspace) gcc hello.c -o hello
(gcc-container:/workspace) ./hello

⁠Note on the peculiar versioning

For example v0.1.1_12.2.0 indicates the version of gcc is 12.2.0

IMAGE-VERSION_GCC-VERSION

⁠CCC

Containerized Collection of Compilers⁠

Tag summary

Content type

Image

Digest

sha256:2664e48bd…

Size

314.4 MB

Last updated

over 1 year ago

docker pull lukeyoo/gcc-image