-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# dodona-containerfile-evaluator | ||
|
||
dodona-containerfile-evaluator is part of the [Dodona Docker judge](https://github.com/dodona-edu/judge-docker). | ||
It's responsible for parsing the Containerfile and checking if it fulfills the requirements set by the config file. | ||
|
||
``` | ||
Usage: dodona-containerfile-evaluator --config <path> <Containerfile> | ||
Arguments: | ||
<Containerfile> Containerfile to operate on | ||
Options: | ||
-c, --config <path> Sets a custom config file | ||
-h, --help Print help | ||
-V, --version Print version | ||
``` | ||
|
||
Example config file: | ||
```json | ||
{ | ||
"from": { | ||
"image": "alpine", | ||
"tag": "3:20" | ||
}, | ||
"user": "runner", | ||
"workdir": "/course", | ||
"comments": [ "docker run" ] | ||
} | ||
``` |