https://github.com/ultmaster/polygon-package-downloader
Docker image for downloading and running Codeforces Polygon package
https://github.com/ultmaster/polygon-package-downloader
Last synced: about 1 year ago
JSON representation
Docker image for downloading and running Codeforces Polygon package
- Host: GitHub
- URL: https://github.com/ultmaster/polygon-package-downloader
- Owner: ultmaster
- Created: 2019-01-12T02:47:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-02T13:24:54.000Z (over 7 years ago)
- Last Synced: 2025-01-23T05:45:32.581Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This is actually a runner for Linux platform for Codeforces Polygon package.
It will search for all the executables (written in C/C++) referenced in `problem.xml` and recompile for Linux platform, then run `doall.sh`.
The typical usage is like this:
* Download the standard package and save as `package.zip` in `destination_location`, then
* Run:
```
logs = client.containers.run("registry.cn-hangzhou.aliyuncs.com/ultmaster/polygon-package-downloader:latest",
environment=environments, network_mode="none",
volumes={destination_location: {"bind": "/store", "mode": "rw"}})
```
Of course you need to pull the standard package from Polygon first. See eoj3 for details.