Closed daniel-riehm closed 1 year ago
Looks good to me. Do we know if this will impact the Kitware docker image?
https://github.com/Kitware/kwiver/blob/master/Dockerfile
If not we should check and prepare a MR for the KWIVER Dockerfile to insure it still builds.
Yes, I have a cleanup branch for KWIVER as well, but was waiting for this one to merge before creating a MR for it.
This PR cleans up the
Dockerfile
, which has not been building properly for a long while. Notable changes include removal of thePY_MAJOR_VERSION
argument (python2
is long deprecated) and the neatCOPY --from=base / /
trick which reduces the size of the resulting container dramatically (20GB -> 3GB
) by removing the layers describing the changes to intermediate build files, keeping only the installed final product.