Add C, C++, C#
This commit is contained in:
parent
9a5258d91d
commit
139ec7b012
10 changed files with 87 additions and 0 deletions
5
docker/csharp/Dockerfile
Normal file
5
docker/csharp/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM mono
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
6
docker/csharp/run.sh
Normal file
6
docker/csharp/run.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
if [ "$EVAL_EXPR" = "true" ]; then
|
||||
csharp -e "$1"
|
||||
else
|
||||
echo "$1" > program.cs
|
||||
csc program.cs >/dev/null && mono program.exe
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue