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

8
docker/c/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM alpine
LABEL author="1Computer1"
RUN apk update
RUN apk add gcc libc-dev
COPY run.sh /var/run/
WORKDIR /var/ws

2
docker/c/run.sh Normal file
View file

@ -0,0 +1,2 @@
echo "$1" > program.c
gcc program.c -o program && ./program