-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenter.sh
More file actions
executable file
·29 lines (20 loc) · 807 Bytes
/
enter.sh
File metadata and controls
executable file
·29 lines (20 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
echo """
The following is the Dockerfile contents:
"""
cat Dockerfile
echo """
usage: client.py [-h] [--course COURSE] [--project PROJECT] [--base DOCKERBASE] [--user USER] [--rulename RULENAME] [--storedir STORDIR]
Autograde an available job.
options:
-h, --help show this help message and exit
--course COURSE select a specific course
--project PROJECT select a specific project
--base DOCKERBASE select default docker image
--user USER select a user to process
--rulename RULENAME select a specific testcase to run
--storedir STORDIR set a specific output location for downloads
Example:
python3 client.py --storedir zzz --base cs-base --course X --project X --user m2x --rulename x
"""
docker run -it --rm $(docker build -q .) bash