action-images/java-bookworm/Dockerfile
Louis Vallat a605ca99ad
All checks were successful
Build and publish "Java default JDK on Bookworm" image / Build and publish (push) Successful in 52s
feat: added gradle to java bookworm
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-08 17:51:47 +02:00

12 lines
422 B
Docker

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/*