From ece1199c5f3ecd875e9785a5fa1a117b56b7f6d9 Mon Sep 17 00:00:00 2001 From: Sean McIlvenna Date: Thu, 13 Aug 2020 13:44:59 -0700 Subject: [PATCH] Removing commands from Dockerfile that clone and build the core hapi-fhir libraries since it is not required for building hapi-fhir-jpaserver-starter; it pulls the core libraries from the maven repo regardless. --- Dockerfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18220bd..e18d636 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,5 @@ FROM hapiproject/hapi:base as build-hapi -ARG HAPI_FHIR_URL=https://github.com/jamesagnew/hapi-fhir/ -ARG HAPI_FHIR_BRANCH=master - -RUN git clone --branch ${HAPI_FHIR_BRANCH} ${HAPI_FHIR_URL} -WORKDIR /tmp/hapi-fhir/ -RUN /tmp/apache-maven-3.6.2/bin/mvn dependency:resolve -RUN /tmp/apache-maven-3.6.2/bin/mvn install -DskipTests - WORKDIR /tmp/hapi-fhir-jpaserver-starter COPY . .