diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-13 16:41:11 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-14 00:56:17 +0200 |
| commit | 56b4876b0a5e9b38f6f7ab412657f647d0be8cce (patch) | |
| tree | a5369f97be798b7246289334ff0bd8c3527e9ab3 | |
| parent | 9574fb79563e6fad2943bb53246cf7b208d5a31a (diff) | |
Add SDL-1.2.15-minimal
| -rw-r--r-- | SDL/1.2.15-minimal/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
