one more path fix
This commit is contained in:
parent
88d211e6f9
commit
a1263c57a1
|
@ -11,10 +11,10 @@ ENV server_username=$MAVEN_ACCOUNT_USR
|
|||
ENV server_password=$MAVEN_ACCOUNT_PSW
|
||||
ARG CITE_MAVEN_REPO_URL
|
||||
|
||||
COPY annotation-service/pom.xml /build-annotation/
|
||||
COPY annotation-service/annotation /build-notification/annotation/
|
||||
COPY annotation-service/annotation-web /build-notification/annotation-web/
|
||||
COPY annotation-service/settings.xml /root/.m2/settings.xml
|
||||
COPY pom.xml /build/
|
||||
COPY annotation /build/annotation/
|
||||
COPY annotation-web /build/annotation-web/
|
||||
COPY settings.xml /root/.m2/settings.xml
|
||||
RUN rm -f /build/annotation-web/src/main/resources/config/app.env
|
||||
RUN rm -f /build/annotation-web/src/main/resources/config/*-devel.yml
|
||||
RUN rm -f /build/annotation-web/src/main/resources/logging/*.xml
|
||||
|
@ -23,7 +23,7 @@ RUN rm -f /build/annotation-web/src/main/resources/certificates/*.crt
|
|||
COPY oracle.local.cite.gr.crt $JAVA_HOME/conf/security
|
||||
RUN cd "$JAVA_HOME"/conf/security && keytool -cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias oraclecert -file oracle.local.cite.gr.crt
|
||||
|
||||
WORKDIR /build-annotation/
|
||||
WORKDIR /build/
|
||||
RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} clean
|
||||
RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} install
|
||||
RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} package
|
||||
|
|
|
@ -11,10 +11,10 @@ ENV server_username=$MAVEN_ACCOUNT_USR
|
|||
ENV server_password=$MAVEN_ACCOUNT_PSW
|
||||
ARG CITE_MAVEN_REPO_URL
|
||||
|
||||
COPY dmp-backend/pom.xml /build/
|
||||
COPY dmp-backend/core /build/core/
|
||||
COPY dmp-backend/web /build/web/
|
||||
COPY dmp-backend/settings.xml /root/.m2/settings.xml
|
||||
COPY pom.xml /build/
|
||||
COPY core /build/core/
|
||||
COPY web /build/web/
|
||||
COPY settings.xml /root/.m2/settings.xml
|
||||
RUN rm -f /build/web/src/main/resources/config/*-devel.yml
|
||||
RUN rm -f /build/web/src/main/resources/logging/*.xml
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@ ENV server_username=$MAVEN_ACCOUNT_USR
|
|||
ENV server_password=$MAVEN_ACCOUNT_PSW
|
||||
ARG CITE_MAVEN_REPO_URL
|
||||
|
||||
COPY notification-service/pom.xml /build-notification/
|
||||
COPY notification-service/core /build-notification/core/
|
||||
COPY notification-service/web /build-notification/web/
|
||||
COPY notification-service/settings.xml /root/.m2/settings.xml
|
||||
COPY pom.xml /build/
|
||||
COPY notification /build/notification/
|
||||
COPY notification-web /build/notification-web/
|
||||
COPY settings.xml /root/.m2/settings.xml
|
||||
RUN rm -f /build/notification-web/src/main/resources/config/app.env
|
||||
RUN rm -f /build/notification-web/src/main/resources/config/*-devel.yml
|
||||
RUN rm -f /build/notification-web/src/main/resources/logging/*.xml
|
||||
|
@ -23,7 +23,7 @@ RUN rm -f /build/notification-web/src/main/resources/certificates/*.crt
|
|||
COPY oracle.local.cite.gr.crt $JAVA_HOME/conf/security
|
||||
RUN cd "$JAVA_HOME"/conf/security && keytool -cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias oraclecert -file oracle.local.cite.gr.crt
|
||||
|
||||
WORKDIR /build-notification/
|
||||
WORKDIR /build/
|
||||
RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} clean
|
||||
RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} install
|
||||
RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} package
|
||||
|
|
Loading…
Reference in New Issue