Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/website/content/en/status/report-2025-01-2025-03/buildpacks.adoc
18096 views
=== Containers and FreeBSD: Cloud Native Buildpacks

Links: +
link:https://buildpacks.io/[Cloud Native Buildpacks (CNBs)] URL: link:https://buildpacks.io/[] +
link:https://github.com/buildpacks/pack[GitHub Buildpacks repository] URL: link:https://github.com/buildpacks/pack[]

Contact: Robert Gogolok <[email protected]>

link:https://buildpacks.io/[Cloud Native Buildpacks (CNBs)] transform application source code into container images.
Those images can run on any cloud.
With buildpacks, organizations can concentrate the knowledge of container build best practices within a specialized team, instead of having application developers across the organization individually maintain their own Dockerfiles.

My goal for this quarter was to enable building the tool link:https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/[pack] on FreeBSD.

With the following changes, it is now possible to compile `pack` on FreeBSD:

* link:https://github.com/buildpacks/pack/pull/2337[Remove obsolete // +build lines #2337]
* link:https://github.com/buildpacks/pack/pull/2339[Use unix build constraint #2339]
* link:https://github.com/buildpacks/pack/pull/2357[Support FreeBSD build phase #2357]

The next steps are:

- Provide missing FreeBSD functionality to `lifecycle` and `pack`.
- Further investigate FreeBSD as a build target in `lifecycle`.
- Provide `lifecycle` and/or `pack` via FreeBSD ports.
- Investigate the idea of FreeBSD buildpacks for some popular languages, similar to link:https://paketo.io/[paketo buildpacks].