Skip to content

Commit

Permalink
use SapMachine17 to build the project
Browse files Browse the repository at this point in the history
  • Loading branch information
aamotharald committed Nov 12, 2024
1 parent 52c57d5 commit 2b54ae2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/actions/project-security-report-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM openjdk:8
FROM maven:3.9.5-sapmachine-17

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git jq

RUN wget https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
HASH=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 && \
echo "$HASH apache-maven-3.6.3-bin.tar.gz" | sha512sum --check --status && \
tar xf apache-maven-3.6.3-bin.tar.gz -C /opt
#RUN wget https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
# HASH=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 && \
# echo "$HASH apache-maven-3.6.3-bin.tar.gz" | sha512sum --check --status && \
# tar xf apache-maven-3.6.3-bin.tar.gz -C /opt

ENV M2_HOME="/opt/apache-maven-3.6.3"
ENV MAVEN_HOME="/opt/apache-maven-3.6.3"
ENV PATH="${MAVEN_HOME}/bin:${PATH}"
#ENV M2_HOME="/opt/apache-maven-3.6.3"
#ENV MAVEN_HOME="/opt/apache-maven-3.6.3"
#ENV PATH="${MAVEN_HOME}/bin:${PATH}"

RUN mvn -version

Expand Down

0 comments on commit 2b54ae2

Please sign in to comment.