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.
This commit is contained in:
@@ -1,13 +1,5 @@
|
|||||||
FROM hapiproject/hapi:base as build-hapi
|
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
|
WORKDIR /tmp/hapi-fhir-jpaserver-starter
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user