From nobody Wed Jan 01 14:04:19 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YNWmM6ksrz5jymT for ; Wed, 01 Jan 2025 14:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YNWmM4XcWz45GF; Wed, 1 Jan 2025 14:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735740259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=69iSC5rzJJMTBBnCZrOPhYQKfQNsvpWbvtZt74J20AQ=; b=SMMPuZQS+DK5MfaT32m/jLhyRtPV5RzlqjO7wpVR4bJ7WbLX8DzOrHXhN+Xiz7VS01nBxF +6iMvPhaBcXSbQHo0TTjcQ94qdm3lCtbp+l/LDJlVnigP+hAx1ucZccHYXz9Ih56ItjK93 LGxTFpq3FuLSnztqLRGv/K2B3zajS6iXNQAT3TNHOUyFiZCGzsH7DpNggGqp8g4L09i8Bl P/nvuj3GV4pGRUHmMxpXEfV1UqxkCd3CRSGHnn99HJX06Wf9e6UleS8f62wy50rsnik7kp fvUhqOlX83UjjEJePmB1QkOwGXif5CIoCkb9K2/0Dh117kFXHCKKrR9b+SVXig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735740259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=69iSC5rzJJMTBBnCZrOPhYQKfQNsvpWbvtZt74J20AQ=; b=vVWdoeCg38JvpNSCgVqx2DR0MpxqXc8oGACTL8UF1jzkcA5FHuUFWOiRnVq2GkyYI8P4eL Ah3zUzM/bCd5Ht9MTlBcm0X4/zNi35yonxKC2AyyTaFwz7pHBWHK4s1S8MUtB1XjCPZ1Eo IkQB5tBaiO64EhsJ7j+mPugxJrk/8WfEOtrX52P+ao0XPG1QBbKMsUMkEfZ4tV7LnhTFl0 653daEirkWBodAPDhTZjayvUXt0lm15KevkOkd9CPwekQGRWZ9JSF0zeB5rMg0DKnHD1As jP3ar1U3vh8R5IMSz9oYkn7Dyz90muGguJPPhen9fe2ENizR5cRyonKcFPYW3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735740259; a=rsa-sha256; cv=none; b=IXIYWEeiRYK6zgSl42bouJ7t2O+yyyxIv/pB67RQcmLKsvap/BypvYiB0jcSokWtoW1wM7 KiOjZ60RzXIzZihfuMfdNeSeIeo7Jpx8YlJ3LV2nEzyLSJ7oRljdXNt0afztxu4S8DeG8d AVlSsewYUQbimAtsh2qG1PW5BA147Nk5S+1OlIzV1i6OEGhxSoeQyxbKYU7QFgUPmwvKa6 FO/3r58DMZaEng8tjTaXwov8/AMsHDV1QeiNT40LAAP87w0Pj1cj+u77u5AMxjcKdINTkW rZpJ3QvDOMdD/2Op5MKGs6j2z9Gh8uJbZLwR7swKIu8O8k0EhPMVusVuNS/luA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YNWmM3s9DzRxy; Wed, 1 Jan 2025 14:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 501E4JRZ078388; Wed, 1 Jan 2025 14:04:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 501E4J9S078385; Wed, 1 Jan 2025 14:04:19 GMT (envelope-from git) Date: Wed, 1 Jan 2025 14:04:19 GMT Message-Id: <202501011404.501E4J9S078385@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: a881d85f4e - main - Status/2024Q4/buildpacks.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a881d85f4e6afde0d220fd026f60a468e1c27fd5 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=a881d85f4e6afde0d220fd026f60a468e1c27fd5 commit a881d85f4e6afde0d220fd026f60a468e1c27fd5 Author: Robert Gogolok AuthorDate: 2025-01-01 13:51:31 +0000 Commit: Lorenzo Salvadore CommitDate: 2025-01-01 13:51:31 +0000 Status/2024Q4/buildpacks.adoc: Add report Reviewed by: status (Pau Amma ) 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 + +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].