2021-05-12 07:30:49 +02:00
|
|
|
FROM alpine as build
|
2019-07-09 11:19:41 +02:00
|
|
|
|
2021-06-05 23:35:49 +02:00
|
|
|
WORKDIR /tmp/bf
|
|
|
|
RUN apk add --no-cache musl-dev gcc make git && \
|
|
|
|
git clone https://github.com/rdebath/Brainfuck.git . && \
|
|
|
|
cd tritium && \
|
|
|
|
make
|
2019-07-09 11:19:41 +02:00
|
|
|
|
|
|
|
FROM alpine
|
2021-06-05 23:35:49 +02:00
|
|
|
LABEL author="SunRed"
|
2019-07-09 11:19:41 +02:00
|
|
|
|
2021-06-05 23:35:49 +02:00
|
|
|
COPY --from=build /tmp/bf/tritium/bfi.out /usr/local/bin/bf
|
2019-07-09 11:19:41 +02:00
|
|
|
COPY run.sh /var/run/
|