mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add linapple
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
4f5bab0d32
commit
a7ed1e8d6d
35
linapple/Dockerfile
Normal file
35
linapple/Dockerfile
Normal file
|
@ -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"]
|
Loading…
Reference in New Issue
Block a user