v1.4.0 (2019-10-31)
New Features
- Added support for
compiler_optionsandcommand_line_arguments. - Added configuration variables
ENABLE_COMPILER_OPTIONS,ALLOWED_LANGUAGES_FOR_COMPILER_OPTIONSandENABLE_COMMAND_LINE_ARGUMENTSfor controlling usage of compiler options and command line arguments.
Security Improvements
- Run compilation process for compiled languages inside sandbox and use values of limit configuration variables for controlling sandbox resources.
- Move application location from
/usr/src/apito/apito prevent untrusted code from reading it.- Commits: @0f1b07fe
Other Changes
- Don't link math library for C language by default. You now need to send
-lmincompiler_options.- Commits: @619a3bbe
Deployment Procedure
- Install Docker and Docker Compose.
- Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.4.0/judge0-api-v1.4.0.zip
unzip judge0-api-v1.4.0.zip
- Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.4.0
docker-compose up -d
sleep 10s
- Your instance of Judge0 API v1.4.0 is now available at
http://<IP OF YOUR SERVER>:3000.