Path: blob/main/release/tools/oci-image-runtime.conf
104897 views
#! /bin/sh12# Build Open Container Initiative (OCI) container image suitable as a base for3# shell-based workloads. This adds FreeBSD-runtime, FreeBSD-pkg-bootstrap and a4# handful of others packages to create a small image which can be easily5# extended by installing packages.67OCI_BASE_IMAGE=dynamic89oci_image_build() {10set_cmd ${workdir} /bin/sh11# The static image installed termcap.small into /usr/share/misc/termcap12# and we are replacing it with the full termcap file. We remove the13# small one first to avoid creating a .pkgsave file.14rm ${workdir}/rootfs/usr/share/misc/termcap15install_packages ${abi} ${workdir} \16FreeBSD-runtime \17FreeBSD-certctl \18FreeBSD-kerberos-lib \19FreeBSD-libarchive \20FreeBSD-libexecinfo \21FreeBSD-libucl \22FreeBSD-fetch \23FreeBSD-rc \24FreeBSD-pkg-bootstrap \25FreeBSD-mtree26}272829