action-images/java-bookworm/Dockerfile

12 lines
422 B
Docker
Raw Normal View History

2024-10-20 00:01:24 +02:00
FROM node:20-bookworm@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff3
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/*