Skip to content

Commit dc6e67b

Browse files
committed
change base image to alpine linux with java 24
1 parent 45ed475 commit dc6e67b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin AS builder
1+
FROM eclipse-temurin:24-alpine AS builder
22

33
# bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ git:https://chromium.googlesource.com/webm/libwebp.git|^1
44
# bump: libwebp after ./hashupdate Dockerfile LIBWEBP $LATEST
@@ -7,7 +7,8 @@ ARG LIBWEBP_URL="https://storage.googleapis.com/downloads.webmproject.org/releas
77
ARG LIBWEBP_SHA256=f4bf49f85991f50e86a5404d16f15b72a053bb66768ed5cc0f6d042277cc2bb8
88

99
WORKDIR /app
10-
RUN curl -L --fail --retry 3 --retry-delay 5 "$LIBWEBP_URL" -o libwebp.tar.gz && \
10+
RUN apk --no-cache add curl tar && \
11+
curl -L --fail --retry 3 --retry-delay 5 "$LIBWEBP_URL" -o libwebp.tar.gz && \
1112
echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \
1213
tar -xzf libwebp.tar.gz --one-top-level=libwebp --strip-components=1
1314
COPY settings.gradle build.gradle gradlew ./

0 commit comments

Comments
 (0)