Skip to content

Commit 277aeff

Browse files
committed
fix libwebp configuration in dockerfile
1 parent b94f553 commit 277aeff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ FROM eclipse-temurin AS builder
22

33
# bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ https://github.com/webmproject/libwebp.git|^1
44
# bump: libwebp after ./hashupdate Dockerfile LIBWEBP $LATEST
5-
# bump: libwebp link "Release notes" https://github.com/webmproject/libwebp/releases/tag/v$LATEST
6-
# bump: libwebp link "Source diff $CURRENT..$LATEST" https://github.com/webmproject/libwebp/compare/v$CURRENT..v$LATEST
75
ARG LIBWEBP_VERSION=1.4.0
8-
ARG LIBWEBP_URL="https://github.com/webmproject/libwebp/archive/v$$LIBWEBP_VERSION.tar.gz"
6+
ARG LIBWEBP_URL="https://github.com/webmproject/libwebp/archive/v$LIBWEBP_VERSION.tar.gz"
97
ARG LIBWEBP_SHA256=12af50c45530f0a292d39a88d952637e43fb2d4ab1883c44ae729840f7273381
108

119
WORKDIR /app
12-
RUN curl "$LIBWEBP_URL" -o libwebp.tar.gz && \
10+
RUN curl -L --fail --retry 3 --retry-delay 5 "$LIBWEBP_URL" -o libwebp.tar.gz && \
1311
echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \
1412
tar -xzf libwebp.tar.gz --one-top-level=libwebp --strip-components=1
1513
COPY settings.gradle build.gradle gradlew ./

0 commit comments

Comments
 (0)