Public Repository

Last pushed: 3 months ago
Short Description
a Docker container for compiling code with gcc
Full Description

SOURCE

https://github.com/mcandre/docker-gcc

EXAMPLE

$ docker run -it -v $(pwd):/mnt mcandre/docker-gcc bash
root@b2b639fe64c0:/# cd /mnt
root@b2b639fe64c0:/mnt# mkdir -p bin/
root@b2b639fe64c0:/mnt# gcc -o bin/hello --static hello.c
root@b2b639fe64c0:/mnt# bin/hello
Hello World!
root@b2b639fe64c0:/mnt# exit
$ ls bin/
hello
Docker Pull Command
Owner
mcandre