From 277aeffa33514d3eae56eeaa133da172257a348a Mon Sep 17 00:00:00 2001 From: Roberto Cella Date: Sat, 21 Dec 2024 09:41:41 +0100 Subject: [PATCH] fix libwebp configuration in dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9928df..109c1ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,12 @@ FROM eclipse-temurin AS builder # bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ https://github.com/webmproject/libwebp.git|^1 # bump: libwebp after ./hashupdate Dockerfile LIBWEBP $LATEST -# bump: libwebp link "Release notes" https://github.com/webmproject/libwebp/releases/tag/v$LATEST -# bump: libwebp link "Source diff $CURRENT..$LATEST" https://github.com/webmproject/libwebp/compare/v$CURRENT..v$LATEST ARG LIBWEBP_VERSION=1.4.0 -ARG LIBWEBP_URL="https://github.com/webmproject/libwebp/archive/v$$LIBWEBP_VERSION.tar.gz" +ARG LIBWEBP_URL="https://github.com/webmproject/libwebp/archive/v$LIBWEBP_VERSION.tar.gz" ARG LIBWEBP_SHA256=12af50c45530f0a292d39a88d952637e43fb2d4ab1883c44ae729840f7273381 WORKDIR /app -RUN curl "$LIBWEBP_URL" -o libwebp.tar.gz && \ +RUN curl -L --fail --retry 3 --retry-delay 5 "$LIBWEBP_URL" -o libwebp.tar.gz && \ echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \ tar -xzf libwebp.tar.gz --one-top-level=libwebp --strip-components=1 COPY settings.gradle build.gradle gradlew ./