Skip to content

Commit

Permalink
fix libwebp configuration in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rob93c committed Dec 21, 2024
1 parent b94f553 commit 277aeff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down

0 comments on commit 277aeff

Please sign in to comment.