Add C, C++, C#

This commit is contained in:
1computer1 2019-03-14 21:32:39 -04:00
parent 9a5258d91d
commit 139ec7b012
10 changed files with 87 additions and 0 deletions

5
docker/csharp/Dockerfile Normal file
View 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
View 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