From a605ca99ad7792caa2657ee41e0cfe6679486544 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Sun, 8 Sep 2024 17:51:47 +0200 Subject: [PATCH] feat: added gradle to java bookworm Signed-off-by: Louis Vallat --- java-bookworm/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/java-bookworm/Dockerfile b/java-bookworm/Dockerfile index d9bbdae..f722551 100644 --- a/java-bookworm/Dockerfile +++ b/java-bookworm/Dockerfile @@ -1,6 +1,11 @@ FROM node:20-bookworm@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7 +ENV PATH="/opt/gradle/gradle-8.10/bin:$PATH" + RUN apt-get update && \ apt-get install git -y && \ apt-get install default-jdk -y && \ - rm -rf /var/lib/apt/lists/* \ No newline at end of file + wget https://services.gradle.org/distributions/gradle-8.10-bin.zip && \ + mkdir /opt/gradle && \ + unzip -d /opt/gradle gradle-8.10-bin.zip && \ + rm -rf /var/lib/apt/lists/*