Change to high performance brainfuck interpreter
This commit is contained in:
parent
1205933acd
commit
b7ae9a1551
1 changed files with 7 additions and 6 deletions
|
@ -1,12 +1,13 @@
|
||||||
FROM alpine AS build
|
FROM alpine AS build
|
||||||
|
|
||||||
COPY bf.cpp .
|
WORKDIR /tmp/bf
|
||||||
RUN apk add --no-cache g++ && \
|
RUN apk add --no-cache musl-dev gcc make git && \
|
||||||
g++ bf.cpp -o bf
|
git clone https://github.com/rdebath/Brainfuck.git . && \
|
||||||
|
cd tritium && \
|
||||||
|
make
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
LABEL author="1Computer1"
|
LABEL author="SunRed"
|
||||||
|
|
||||||
RUN apk add --no-cache libstdc++
|
COPY --from=build /tmp/bf/tritium/bfi.out /usr/local/bin/bf
|
||||||
COPY --from=build bf /usr/local/bin/
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
Loading…
Reference in a new issue