Stop shipping files. Start shipping packages.
Atomic installation, digital signatures, dependency tracking. Cons: Requires a package manager or installer to parse. bin to pkg
Even in the containerization era, the concept holds. A Docker container is essentially a "super-package." It wraps the binary and the operating system filesystem together. It is the ultimate evolution of Bin-to-Pkg. Stop shipping files
pkgbuild --root my_pkg_root \ --identifier com.mycompany.mytool \ --version 1.0.0 \ --install-location / \ --component-plist component.plist \ --scripts ./scripts \ mytool.pkg bin to pkg
The files are reorganized into a directory structure that the target system recognizes.