From a7ed1e8d6d5b00537b6c9a07be8bcb42578b3740 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 5 Oct 2018 16:23:59 -0400 Subject: [PATCH] add linapple Signed-off-by: Jess Frazelle --- linapple/Dockerfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 linapple/Dockerfile diff --git a/linapple/Dockerfile b/linapple/Dockerfile new file mode 100644 index 0000000..d0978af --- /dev/null +++ b/linapple/Dockerfile @@ -0,0 +1,35 @@ +FROM alpine:latest + +RUN apk --no-cache add \ + ca-certificates \ + libcurl \ + libgcc \ + libstdc++ \ + libzip \ + sdl + +RUN set -x \ + && apk add --no-cache --virtual .build-deps \ + build-base \ + bzip2 \ + curl \ + curl-dev \ + libzip-dev \ + make \ + sdl-dev \ + tar \ + && curl -sSL "https://beotiger.com/download/linapple_src-2b" -o /tmp/linapple.tar.bz2 \ + && mkdir -p /usr/src/linapple \ + && tar -xjf /tmp/linapple.tar.bz2 -C /usr/src/linapple --strip-components=1 \ + && rm /tmp/linapple.tar.bz2 \ + && ( \ + cd /usr/src/linapple/src \ + && make \ + && make install \ + ) \ + && apk del .build-deps + +COPY Frogger.dsk /usr/src/games/ + +ENTRYPOINT ["linapple", "-1"] +CMD ["/usr/src/games/Frogger.dsk"]