Merge branch 'hipfbf' into docker

This commit is contained in:
Manuel 2021-06-05 23:36:51 +02:00
commit 7822e6ad17
Signed by: Manuel
GPG key ID: 4085037435E1F07A

View file

@ -1,12 +1,13 @@
FROM alpine as build
COPY bf.cpp .
RUN apk add --no-cache g++ && \
g++ bf.cpp -o bf
WORKDIR /tmp/bf
RUN apk add --no-cache musl-dev gcc make git && \
git clone https://github.com/rdebath/Brainfuck.git . && \
cd tritium && \
make
FROM alpine
LABEL author="1Computer1"
LABEL author="SunRed"
RUN apk add --no-cache libstdc++
COPY --from=build bf /usr/local/bin/
COPY --from=build /tmp/bf/tritium/bfi.out /usr/local/bin/bf
COPY run.sh /var/run/