diff --git a/Dockerfile.cql b/Dockerfile.cql new file mode 100644 index 000000000..d06a71ff3 --- /dev/null +++ b/Dockerfile.cql @@ -0,0 +1,17 @@ +FROM alpine/git as vcs_checkout + +WORKDIR /opt/checkout + +RUN git clone https://github.com/cqframework/clinical_quality_language . + + + +FROM openjdk:11 as cql_builder + +WORKDIR /opt/app + +COPY --from=vcs_checkout /opt/checkout . + +WORKDIR Src/java + +RUN ./gradlew :cql-to-elm:installDist diff --git a/docker-compose.cql.yaml b/docker-compose.cql.yaml new file mode 100644 index 000000000..a59ce9046 --- /dev/null +++ b/docker-compose.cql.yaml @@ -0,0 +1,9 @@ +--- +version: "3.4" +services: + cql: + build: + context: . + dockerfile: Dockerfile.cql + volumes: + - ./src/cql:/opt/cql