Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
Bond-009 committed Dec 17, 2024
1 parent 09282d8 commit cbcb782
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
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" ]
}
```

0 comments on commit cbcb782

Please sign in to comment.