From e03c92f58a4e04d261d3f13e6f4f05cf62875edc Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 9 Oct 2025 23:01:01 +0200 Subject: Add libjpeg-9f --- libjpeg/9f/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libjpeg/9f/Dockerfile (limited to 'libjpeg') diff --git a/libjpeg/9f/Dockerfile b/libjpeg/9f/Dockerfile new file mode 100644 index 0000000..19a1f2d --- /dev/null +++ b/libjpeg/9f/Dockerfile @@ -0,0 +1,19 @@ +FROM alpine as base +ARG PREFIX=/usr/local +ARG DESTDIR=/opt/spm/libjpeg-9f +RUN apk update && apk add \ + make \ + gcc \ + pkgconf \ + musl-dev \ + wget +RUN wget https://www.ijg.org/files/jpegsrc.v9f.tar.gz +RUN tar -xf jpegsrc.v9f.tar.gz +WORKDIR /build-libjpeg +RUN CFLAGS='-ffunction-sections -fdata-sections -Os' \ + ../jpeg-9f/configure \ + --enable-shared=no +RUN make -j$(nproc) +RUN make install DESTDIR=$DESTDIR +FROM scratch +COPY --from=base /opt/spm/libjpeg-9f/usr/local/ /opt/spm/libjpeg-9f/ -- cgit v1.2.3