From bbb8dd9646bd5caa631a0d528dbf7d39051b9e68 Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 12 May 2021 07:47:58 +0200 Subject: [PATCH] Add lolcode image --- languages/lolcode/Dockerfile | 15 +++++++++++++++ languages/lolcode/run.sh | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 languages/lolcode/Dockerfile create mode 100644 languages/lolcode/run.sh diff --git a/languages/lolcode/Dockerfile b/languages/lolcode/Dockerfile new file mode 100644 index 0000000..9d5897a --- /dev/null +++ b/languages/lolcode/Dockerfile @@ -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/ diff --git a/languages/lolcode/run.sh b/languages/lolcode/run.sh new file mode 100644 index 0000000..82fcf02 --- /dev/null +++ b/languages/lolcode/run.sh @@ -0,0 +1,2 @@ +cat > program.lol +lci program.lol