Category: C

C, debian, docker, linux, programming

Debian build environment in a docker container

Last post, I shared a docker container for compilation in C with ccache and colorgcc included. This time, we will extend that base container for development and packaging of Debian packages. Not only it is handy to have the environment configured and packaged, but also opens some oportunities for optimization given the nature of docker, …

C, docker, programming

C build environment in a docker container

This container is my base build environment for compiling C programs. It produces colored output and it caches compilation artifacts so that subsequent re-compilations are greately accelerated. It is layered on top of my minidebian container, and I usually expand it further depending on the project. See this example. Features GCC 6 ccache for fast …