Sign inSign up

yozuru/judge0-compilers

By yozuru

Updated 8 months ago

📦 Docker image with installed compilers, interpreters and sandbox.

Image
0

1.4K

yozuru/judge0-compilers repository overview

Judge0 Compilers (Optimized Edition)

A high-performance, modernized Docker image containing compilers, interpreters, and the Isolate sandbox. Designed for competitive programming platforms and online judges.

✨ Key Features

  • Cutting-Edge Toolchain:
    • GCC 15.2 & Clang 21: Defaulting to C23 and C++23 standards.
    • Java 21 LTS & Java 25 LTS: Latest OpenJDK builds.
    • Python 3.14 & Node.js 24: Modern scripting environments.
    • Kotlin 1.9 & 2.3: Full Kotlin support.
  • Optimized Performance:
    • Fast Builds: Uses multi-stage Docker builds to copy pre-compiled binaries, reducing build time from minutes to seconds.
    • Auto-Imported Headers: Common headers (std.h, stdc++.h) are automatically included, and common classes (Scanner, BigInteger) are pre-imported for convenience.
  • Security First:
    • Includes Isolate sandbox pre-installed from official Debian repositories.
    • Configured with reasonable memory and process limits.

🚀 Quick Start

Build the Image
docker build -t yozuru/judge0-compilers:latest .
Verify Installation

Run the included test suite to verify all compilers are compiling and executing code correctly:

bin/run-tests

Expect output:

--- C (Clang 21) ---
Hello, Yozuru
--- C++ (GCC 15.2) ---
Hello, Yozuru
...

🛠️ Supported Languages

LanguageVersionSourceStandards
CGCC 15.2 / Clang 21Official Docker ImagesC23 (-std=c23)
C++GCC 15.2 / Clang 21Official Docker ImagesC++23 (-std=c++23)
Java21 / 25Eclipse TemurinOpenJDK
Python3.14.2Official Slim ImageStandard
Node.js24.13.0Official Slim ImageStandard
Kotlin1.9.0 / 2.3.0GitHub ReleasesJVM
Bash5.2.37Debian BookwormStandard

⚙️ Configuration

The project includes a generate_json.py script to generate a db.json configuration file for use with Judge0 or compatible systems.

📄 License

This project is licensed under the GNU General Public License v3.0.

Original work Copyright (C) 2017 Herman Zvonimir Došilović.

Modifications Copyright (C) 2026 Yozuru.

See LICENSE for details.

Tag summary

Content type

Image

Digest

sha256:ad3334128

Size

1.1 GB

Last updated

8 months ago

docker pull yozuru/judge0-compilers