1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-11-29 22:48:28 +02:00

fix alpine docker linting

This commit is contained in:
Patrik J. Braun
2025-10-19 00:16:08 +02:00
parent 6f166a00a3
commit ea356febbb

View File

@@ -12,14 +12,14 @@ RUN apk add --no-cache \
# Build libvips (with HEIF support) # Build libvips (with HEIF support)
ARG VIPS_VERSION=8.17.1 ARG VIPS_VERSION=8.17.1
WORKDIR /tmp WORKDIR /tmp
RUN wget https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.xz && \ RUN wget --progress=dot:giga https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.xz && \
tar -xf vips-${VIPS_VERSION}.tar.xz && \ tar -xf vips-${VIPS_VERSION}.tar.xz && \
cd vips-${VIPS_VERSION} && \ cd vips-${VIPS_VERSION} && \
meson setup build --libdir lib -Dintrospection=disabled -Dexamples=false --buildtype=release && \ meson setup build --libdir lib -Dintrospection=disabled -Dexamples=false --buildtype=release && \
cd build && \ meson compile -C build && \
meson compile && \ meson install -C build && \
meson install && \ cd /tmp && \
rm -rf /tmp/vips-${VIPS_VERSION} rm -rf vips-${VIPS_VERSION}*
ENV LD_LIBRARY_PATH=/usr/local/lib \ ENV LD_LIBRARY_PATH=/usr/local/lib \
SHARP_FORCE_GLOBAL_LIBVIPS=1 SHARP_FORCE_GLOBAL_LIBVIPS=1