Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/release/tools/oci-image-runtime.conf
104897 views
1
#! /bin/sh
2
3
# Build Open Container Initiative (OCI) container image suitable as a base for
4
# shell-based workloads. This adds FreeBSD-runtime, FreeBSD-pkg-bootstrap and a
5
# handful of others packages to create a small image which can be easily
6
# extended by installing packages.
7
8
OCI_BASE_IMAGE=dynamic
9
10
oci_image_build() {
11
set_cmd ${workdir} /bin/sh
12
# The static image installed termcap.small into /usr/share/misc/termcap
13
# and we are replacing it with the full termcap file. We remove the
14
# small one first to avoid creating a .pkgsave file.
15
rm ${workdir}/rootfs/usr/share/misc/termcap
16
install_packages ${abi} ${workdir} \
17
FreeBSD-runtime \
18
FreeBSD-certctl \
19
FreeBSD-kerberos-lib \
20
FreeBSD-libarchive \
21
FreeBSD-libexecinfo \
22
FreeBSD-libucl \
23
FreeBSD-fetch \
24
FreeBSD-rc \
25
FreeBSD-pkg-bootstrap \
26
FreeBSD-mtree
27
}
28
29