Zuerst Parent dann server-app bauen
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 2m18s
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 2m18s
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
FROM maven:3.9-eclipse-temurin-21 AS build
|
FROM maven:3.9-eclipse-temurin-21 AS build
|
||||||
COPY . /productdefinitions
|
COPY . /productdefinitions
|
||||||
|
COPY pom.xml /productdefinitions
|
||||||
|
COPY server-app/pom.xml /productdefinitions/server-app
|
||||||
WORKDIR /productdefinitions
|
WORKDIR /productdefinitions
|
||||||
|
|
||||||
RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omdsservicedefinitions.git /tmp/lib \
|
RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omdsservicedefinitions.git /tmp/lib \
|
||||||
@@ -8,7 +10,8 @@ RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omd
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN mvn clean package -DskipTests
|
RUN mvn install -N
|
||||||
|
RUN mvn -pl server-app -am clean package
|
||||||
|
|
||||||
FROM eclipse-temurin:21-jre-alpine
|
FROM eclipse-temurin:21-jre-alpine
|
||||||
WORKDIR /productdefinitions
|
WORKDIR /productdefinitions
|
||||||
|
|||||||
Reference in New Issue
Block a user