Sign inSign up

madduci/docker-compiler-explorer

By madduci

Updated 10 months ago

Docker-based version of Matt Godbolt's Compiler Explorer

Image
0

100K+

madduci/docker-compiler-explorer repository overview

docker-compiler-explorer

A docker-based version of Matt Godbolt's Compiler Explorer for self-hosting purposes.

The repository contains a Dockerfile with all the required instructions to build the compiler explorer application (with some adjustments to the Makefile as long as there's no 'sudo') and a docker-compose.yml file, which keeps some setup instructions such as the port mapping and network, in case you might want to map the default port exposed by the application, 10240, in an easy way.

Requirements

  • Docker (possibly the latest version, 17.06+)
  • docker-compose (1.16+)

Build/Run instructions

You can just type in your terminal:

docker pull madduci/docker-compiler-explorer:latest && docker-compose up -d

to use my docker image or, in case of adjustments to the Dockerfile, just type:

docker-compose up -d

and you're done. On the first time, it will build the image based on the modified Dockerfile.

Once launched, you can just point your browser to http://localhost:10240 (or to the port you've defined in the docker-compose.yml file)

Tag summary

Content type

Image

Digest

sha256:9346a59e8

Size

1.7 GB

Last updated

10 months ago

docker pull madduci/docker-compiler-explorer