Skip to content

Commit

Permalink
Specify Maven version
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Delporte committed Nov 16, 2024
1 parent e74b47f commit 558ee23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pi4j-builder-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN apt-get install --yes openjdk-21-jdk-headless
ENV JAVA_HOME="/usr/lib/jvm/java-21-openjdk-$TARGETARCH/"

# install Apache Maven
RUN apt-get install --yes maven
RUN apt-get install --yes maven=3.9.0

# configure Maven with custom settings for defined M2 repository path
COPY maven-settings.xml /usr/share/maven/conf/settings.xml
Expand Down

0 comments on commit 558ee23

Please sign in to comment.