Add C, C++, C#
This commit is contained in:
parent
9a5258d91d
commit
139ec7b012
10 changed files with 87 additions and 0 deletions
8
docker/c/Dockerfile
Normal file
8
docker/c/Dockerfile
Normal 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
2
docker/c/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.c
|
||||
gcc program.c -o program && ./program
|
Loading…
Add table
Add a link
Reference in a new issue