Add lolcode image
This commit is contained in:
parent
c186ecf521
commit
bbb8dd9646
2 changed files with 17 additions and 0 deletions
15
languages/lolcode/Dockerfile
Normal file
15
languages/lolcode/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FROM alpine as build
|
||||||
|
|
||||||
|
RUN apk add --no-cache build-base git cmake
|
||||||
|
|
||||||
|
WORKDIR /tmp/lci
|
||||||
|
RUN git clone https://github.com/justinmeza/lci.git .
|
||||||
|
|
||||||
|
RUN cmake . && make
|
||||||
|
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
LABEL author="SunRed"
|
||||||
|
|
||||||
|
COPY --from=build /tmp/lci/lci /usr/local/bin
|
||||||
|
COPY run.sh /var/run/
|
2
languages/lolcode/run.sh
Normal file
2
languages/lolcode/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
cat > program.lol
|
||||||
|
lci program.lol
|
Loading…
Reference in a new issue