action-images/java-bookworm/Dockerfile

12 lines
422 B
Docker
Raw Normal View History

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