From 56b4876b0a5e9b38f6f7ab412657f647d0be8cce Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 13 Jul 2023 16:41:11 +0200 Subject: Add SDL-1.2.15-minimal --- SDL/1.2.15-minimal/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 SDL/1.2.15-minimal/Dockerfile diff --git a/SDL/1.2.15-minimal/Dockerfile b/SDL/1.2.15-minimal/Dockerfile new file mode 100644 index 0000000..10f0094 --- /dev/null +++ b/SDL/1.2.15-minimal/Dockerfile @@ -0,0 +1,16 @@ +FROM alpine +RUN apk update && apk add \ + git \ + make \ + gcc \ + linux-headers \ + musl-dev +RUN git clone --depth 1 --recursive https://github.com/libsdl-org/SDL-1.2 +WORKDIR /SDL-1.2 +ARG PREFIX=/install/SDL-1.2.15 +RUN ./configure \ + --prefix=$PREFIX \ + --enable-shared=no \ + CFLAGS='-ffunction-sections -fdata-sections' +RUN make -j$(nproc --all) +RUN make install -- cgit v1.2.3