From 7a6ab7972744abf5a19e7f7df41468b27bd26242 Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Mon, 25 May 2026 21:52:06 +0200 Subject: [PATCH] download gradle manually --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6dfa74a..f28ec24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,9 +43,13 @@ ENV JAVA_OPTS="-Djdk.lang.Process.launchMechanism=vfork" ENV LANG=en_US.UTF-8 RUN cd /tmp \ - && git clone https://github.com/AsamK/signal-cli.git --branch v${SIGNAL_CLI_VERSION} --single-branch signal-cli-source \ + && wget https://services.gradle.org/distributions/gradle-9.5.1-bin.zip \ + && unzip -d /opt/gradle gradle-9.5.1-bin.zip + +ENV PATH=$PATH:/opt/gradle/gradle-9.5.1/bin +RUN git clone https://github.com/AsamK/signal-cli.git --branch v${SIGNAL_CLI_VERSION} --single-branch signal-cli-source \ && cd signal-cli-source \ - && ./gradlew jsonSchemas + && /opt/gradle/gradle-9.5.1/bin/gradle jsonSchemas RUN go install github.com/swaggo/swag/cmd/swag@v${SWAG_VERSION}