Skip to content

Commit

Permalink
Update Dockerfile-mvn-no-local
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensrtw authored Sep 19, 2024
1 parent bc153d0 commit 4a81413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-mvn-no-local
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ARG MAVEN_PARAMS="-DskipUnitTests -DskipITtests -D\"maven.test.skip\"=true" # ca
ARG MAVEN_M2="/code/.m2/settings.xml"
ARG OPENTELEMETRY_JAVA_AGENT_VERSION=1.17.0
ENV CODEARTIFACT_AUTH_TOKEN=${CODEARTIFACT_AUTH_TOKEN}
RUN curl -LSsO https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v${OPENTELEMETRY_JAVA_AGENT_VERSION}/opentelemetry-javaagent.jar
RUN "$CODEARTIFACT_AUTH_TOKEN && curl -LSsO https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v${OPENTELEMETRY_JAVA_AGENT_VERSION}/opentelemetry-javaagent.jar

# Copy .m2 folder
COPY .m2 .m2

# Download dependencies
COPY pom.xml /code/
RUN echo "$CODEARTIFACT_AUTH_TOKEN" && cat .m2/settings.xml && $mvn package -s ${MAVEN_M2} ${MAVEN_PARAMS} -P${MAVEN_PROFILE}
RUN mvn package -s ${MAVEN_M2} ${MAVEN_PARAMS} -P${MAVEN_PROFILE}

# OHDSI WebAPI and ATLAS web application running as a Spring Boot application with Java 11
FROM 201959883603.dkr.ecr.us-east-2.amazonaws.com/mdaca/base-images/ironbank-alpine-java:3.20.2_jdk17
Expand Down

0 comments on commit 4a81413

Please sign in to comment.