fixed docker files

This commit is contained in:
Karma Riuk
2025-03-01 17:04:15 +01:00
parent 29541a15e9
commit 7028b0a5c0
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,9 @@
FROM gradle:jdk11-corretto
FROM gradle:7.5-jdk11
# Install dependencies
RUN apt-get update && \
apt-get install -y curl zip git && \
rm -rf /var/lib/apt/lists/*
# Install SDKMAN!
RUN curl -s "https://get.sdkman.io" | bash

View File

@ -3,6 +3,11 @@ FROM maven:3.9.9-eclipse-temurin-11
# Set Maven repository location
ENV MAVEN_CONFIG=/root/.m2
# Install dependencies
RUN apt-get update && \
apt-get install -y curl zip git && \
rm -rf /var/lib/apt/lists/*
# Install SDKMAN!
RUN curl -s "https://get.sdkman.io" | bash