Skip to content

Commit 85881b1

Browse files
committed
fix libwebp configuration in dockerfile
1 parent b94f553 commit 85881b1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
FROM eclipse-temurin AS builder
22

3-
# bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ https://github.com/webmproject/libwebp.git|^1
3+
# bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ git:https://chromium.googlesource.com/webm/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"
9-
ARG LIBWEBP_SHA256=12af50c45530f0a292d39a88d952637e43fb2d4ab1883c44ae729840f7273381
6+
ARG LIBWEBP_URL="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$LIBWEBP_VERSION-linux-x86-64.tar.gz"
7+
ARG LIBWEBP_SHA256=94ac053be5f8cb47a493d7a56b2b1b7328bab9cff24ecb89fa642284330d8dff
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)