зеркало из
1
0
Форкнуть 0
health-cards-validation-SDK/fhir.validator.Dockerfile

10 строки
451 B
Docker

FROM fabric8/java-alpine-openjdk11-jre
RUN java -version
RUN curl -L -o validator_cli.jar https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar
# Run the validator without anything to validate - to cache the fhir downloads in the image.
# "|| :" forces a '0' exit code as the validator will return an error code when doing no actual validation
RUN java -jar validator_cli.jar -ig hl7.fhir.r5.core#current || :