feat: added gradle to java bookworm
All checks were successful
Build and publish "Java default JDK on Bookworm" image / Build and publish (push) Successful in 52s

Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
Louis Vallat 2024-09-08 17:51:47 +02:00
parent 680b9bc714
commit a605ca99ad
Signed by: louis
SSH Key Fingerprint: SHA256:usb9EA8eIADT+Bt0Ne8ZkISCbgPSOYkVgS2iZqdZj8s

View File

@ -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 && \
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/*