fixed maven version not being new enough for a lot of projects

This commit is contained in:
Karma Riuk
2025-03-01 14:58:35 +01:00
parent 5ac5df42a0
commit ec37ee47b9

View File

@ -1,8 +1,11 @@
FROM openjdk:11-jdk-slim FROM maven:3.9.9-eclipse-temurin-11
# Set Maven repository location
ENV MAVEN_CONFIG=/root/.m2
# Install dependencies # Install dependencies
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y maven wget unzip curl zip && \ apt-get install -y wget unzip curl zip git && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# Install Gradle # Install Gradle