smart-on-fhir / hapi

HAPI FHIR Server With Sample Patients
Other
44 stars 19 forks source link

Consider pushing images with --squash #1

Closed stewartadam closed 6 years ago

stewartadam commented 6 years ago

Current docker image has a redundant ~250MB layer due to the downloading, then unpacking, of a large tar.bz2 file which is removed later in the build.

docker build --squash will diff layers produced in your build and squash them to a single image - multi-stage builds could also help eliminate the redundant layer.

vlad-ignatov commented 6 years ago

Thank you for pointing this out. The images were squashed and re-deployed to https://hub.docker.com/r/smartonfhir/hapi/tags/.