git: a881d85f4e - main - Status/2024Q4/buildpacks.adoc: Add report

Lorenzo Salvadore <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/doc/commit/?id=a881d85f4e6afde0d220fd026f60a468e1c27fd5

commit a881d85f4e6afde0d220fd026f60a468e1c27fd5
Author:     Robert Gogolok <[email protected]>
AuthorDate: 2025-01-01 13:51:31 +0000
Commit:     Lorenzo Salvadore <[email protected]>
CommitDate: 2025-01-01 13:51:31 +0000

    Status/2024Q4/buildpacks.adoc: Add report
    
    Reviewed by:    status (Pau Amma <[email protected]>)
    Pull Request:   https://github.com/freebsd/freebsd-doc/pull/446
---
 .../status/report-2024-10-2024-12/buildpacks.adoc  | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/website/content/en/status/report-2024-10-2024-12/buildpacks.adoc b/website/content/en/status/report-2024-10-2024-12/buildpacks.adoc
new file mode 100644
index 0000000000..28d4768b3c
--- /dev/null
+++ b/website/content/en/status/report-2024-10-2024-12/buildpacks.adoc
@@ -0,0 +1,33 @@
+=== Containers and FreeBSD: Cloud Native Buildpacks
+
+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.
+
+A few weeks ago, I've started to look into FreeBSD support for buildpacks.
+My goal is to have working versions of the tools link:https://buildpacks.io/docs/for-platform-operators/concepts/lifecycle/[lifecycle] and link:https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/[pack] in the next few months.
+
+There were previous attempts to bring support for FreeBSD to buildpacks, for example to `lifecycle`:
+
+* link:https://github.com/buildpacks/lifecycle/pull/1087[Add support for FreeBSD #1087]
+* link:https://github.com/buildpacks/lifecycle/pull/1271[Add FreeBSD Support #1271]
+
+After looking into those changes, I've decided to first introduce some general cleanup steps to keep the required changes for FreeBSD small.
+
+This resulted in the following changes that were successfully integrated:
+
+* link:https://github.com/buildpacks/lifecycle/pull/1431[Remove obsolete // +build lines #1431]
+* link:https://github.com/buildpacks/lifecycle/pull/1432[Use unix build constraint #1432]
+* link:https://github.com/buildpacks/lifecycle/pull/1439[Support FreeBSD build phase #1439]
+
+With these steps, it is now possible to compile `lifecycle` under FreeBSD.
+
+The next steps are:
+
+- Provide missing FreeBSD functionality to `lifecycle`.
+- Further investigate FreeBSD as a build target in `lifecycle`.
+- Investigate and get the tool `pack` to compile and run under FreeBSD.
+- 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].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.