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/cpp/Dockerfile Normal file
View file

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

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

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