This is a self-hosted Docker image of Compiler Explorer.
Docker is a great fit for Compiler Explorer:
- Can ship with a bunch of compilers pre-installed
- All the ugly hacks needed to make certain things work can be reproducable easily
What does this image has to offer that most alternatives do not?
- Supports C, C++, Fortran, Go, Haskell, OCaml, Rust and Zig.
- Does some nginx hackiness to get the otherwise fairly bad (sorry Godbolt)
custom path prefix to work using the build-time option
path_prefix
. - Doesn't run the main program as the root user.