Public | Automated Build

Last pushed: 11 days ago
Short Description
Small judge Docker image: AWK, BF, C, C++, C++11, GAS64, PERL, PY2, PY3, SED, TEXT.
Full Description

DMOJ Judge Small Image


This repository contains a judge.yml and a Dockerfile to produce a complete but small judge Docker image.

Contents

This image uses the bare minimum judge image from Docker repository dmoj/judge-base. It only contains Python, C, and C++ support.

However, due to the amount of packages installed, it becomes possible to implement the following executors:
AWK, BF, C, CPP, CPP0X, CPP11, GAS64, PERL, PY2, PY3, SED, TEXT.

Installation

Once you have chosen an image, you can pull it from Docker Hub with this command:

$ docker pull dmoj/judge-small

Then you can run the judge with this command:

$ docker run -v <problem directory>:/problems:ro dmoj/judge-small <connection url> <judge name> <judge key>

where:

  • <problem directory> is a DMOJ problem repository that will be mounted as /problems in the image, read-only.
    • A DMOJ problem repository is a directory containing separate directories, each containing problem folders
      (these contain init,json). This structure allows groups of problems to be selectively toggled on/off by the admin.
  • <connection url> is the AMQP URL used to connect to the site
  • <judge name> is the judge name as declared on the site
  • <judge key> is the API key used to authenticate the judge
Docker Pull Command
Owner
dmoj
Source Repository

Comments (0)