Created
May 15, 2019 22:11
-
-
Save jmandel/533704ee6c07a88edc44b417852135fb to your computer and use it in GitHub Desktop.
HAPI CLI docker example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu as gethapi | |
RUN apt-get update && \ | |
apt-get install -y curl bzip2 | |
RUN mkdir /hapi && \ | |
cd /hapi && \ | |
curl -L https://github.com/jamesagnew/hapi-fhir/releases/download/v3.7.0/hapi-fhir-3.7.0-cli.tar.bz2 \ | |
| tar -xj | |
FROM openjdk | |
WORKDIR /hapi | |
COPY --from=gethapi /hapi /hapi | |
ENTRYPOINT ["java", "-jar", "hapi-fhir-cli.jar"] | |
CMD ["run-server"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment