0fbe9f8ef9
This allows the image build to work even if the host's OSVERSION doesn't match the pkgbase OSVERSION which happens if the host's patch level or release version isn't the same as pkgbase. Also fix the image name so that Podman/Buildah will fetch it automatically, removing the need for users to pull an image and retag it before using this example. Reviewed by: dch MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D50596
This example Containerfile shows how to add packages to freebsd-runtime while minimising the package metadata overhead. For instance, To build a new image called 'my-new-image:latest' containing the nginx package: # podman build --squash --build-arg packages=nginx --tag my-new-image:latest -f Containerfile.pkg