<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Melange on</title><link>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/tags/melange/</link><description>Recent content in Melange on</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright (c) 2023 Chainguard</copyright><lastBuildDate>Mon, 06 Nov 2023 08:49:31 +0000</lastBuildDate><atom:link href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/tags/melange/index.xml" rel="self" type="application/rss+xml"/><item><title>melange Overview</title><link>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/overview/</link><pubDate>Mon, 17 Oct 2022 11:07:52 +0200</pubDate><guid>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/overview/</guid><description>&lt;p&gt;&lt;a href="https://github.com/chainguard-dev/melange"&gt;melange&lt;/a&gt; is an &lt;a href="https://wiki.alpinelinux.org/wiki/Package_management"&gt;apk&lt;/a&gt; builder tool that uses declarative pipelines to create apk packages. It is part of the open source tooling used for &lt;a href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/wolfi/"&gt;Wolfi&lt;/a&gt;, which is the operating system used to power &lt;a href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/chainguard/chainguard-images/"&gt;Chainguard Containers&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From a single YAML file, users are able to generate multi-architecture apks that can be injected directly into &lt;a href="https://github.com/chainguard-dev/apko"&gt;apko&lt;/a&gt; builds.&lt;/p&gt;
&lt;p&gt;The following diagram contains an overview of the apko and melange ecosystem and how they work together to compose apk-based images, using either Wolfi or Alpine as base system.&lt;/p&gt;</description></item><item><title>Getting Started with melange</title><link>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/getting-started-with-melange/</link><pubDate>Thu, 21 Jul 2022 15:21:01 +0200</pubDate><guid>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/getting-started-with-melange/</guid><description>&lt;p&gt;&lt;a href="https://github.com/chainguard-dev/melange"&gt;melange&lt;/a&gt; is an &lt;a href="https://wiki.alpinelinux.org/wiki/Package_management"&gt;apk&lt;/a&gt; builder tool that uses declarative pipelines to create apk packages. From a single YAML file, users are able to generate multi-architecture apks that can be injected directly into &lt;a href="https://github.com/chainguard-dev/apko"&gt;apko&lt;/a&gt; builds.&lt;/p&gt;
&lt;p&gt;Understanding melange can help you better understand the &lt;a href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/wolfi/"&gt;Wolfi&lt;/a&gt; operating system and how &lt;a href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/chainguard/chainguard-images/"&gt;Chainguard Containers&lt;/a&gt; are made to be minimal and secure, but it is not necessary to have a background in melange in order to use Chainguard Containers.&lt;/p&gt;
&lt;p&gt;In this guide, you&amp;rsquo;ll learn how to build a software package with melange. To demonstrate the versatile combination of melange and apko builds, we&amp;rsquo;ll package a small command-line PHP script and build a minimalist container image based on Wolfi with the generated apk. All files used in this demo are open source and available at the &lt;a href="https://github.com/chainguard-dev/melange-php-demos/tree/main/hello-minicli"&gt;melange-php-demos&lt;/a&gt; repository.&lt;/p&gt;</description></item><item><title>Troubleshooting melange Builds</title><link>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/troubleshooting/</link><pubDate>Wed, 10 Aug 2022 11:07:52 +0200</pubDate><guid>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/troubleshooting/</guid><description>&lt;h2 id="debug-options" class="heading-2" data-heading-level="2"&gt;
&lt;span class="heading-text"&gt;Debug Options&lt;/span&gt;
&lt;a href="#debug-options" class="anchor" aria-label="Link to Debug Options" title="Link to this section"&gt;
&lt;svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"&gt;
&lt;path d="M6.833 8.125H4C3 8.125 2.146 7.77067 1.438 7.062C0.729333 6.354 0.375 5.5 0.375 4.5C0.375 3.5 0.729333 2.646 1.438 1.938C2.146 1.22933 3 0.875 4 0.875H6.833V1.958H4C3.30533 1.958 2.708 2.208 2.208 2.708C1.708 3.208 1.458 3.80533 1.458 4.5C1.458 5.19467 1.708 5.792 2.208 6.292C2.708 6.792 3.30533 7.042 4 7.042H6.833V8.125ZM5.208 5.042V3.958H10.792V5.042H5.208ZM9.167 8.125V7.042H12C12.6947 7.042 13.292 6.792 13.792 6.292C14.292 5.792 14.542 5.19467 14.542 4.5C14.542 3.80533 14.292 3.208 13.792 2.708C13.292 2.208 12.6947 1.958 12 1.958H9.167V0.875H12C13 0.875 13.854 1.22933 14.562 1.938C15.2707 2.646 15.625 3.5 15.625 4.5C15.625 5.5 15.2707 6.354 14.562 7.062C13.854 7.77067 13 8.125 12 8.125H9.167Z" fill="currentColor"/&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;To include debug-level information on melange builds, edit your &lt;code&gt;melange.yaml&lt;/code&gt; file and include &lt;code&gt;set -x&lt;/code&gt; in your pipeline. You can add this flag at any point of your pipeline commands to further debug a specific section of your build.&lt;/p&gt;</description></item><item><title>Package Version Selection</title><link>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/wolfi/apk-version-selection/</link><pubDate>Mon, 06 Nov 2023 08:49:31 +0000</pubDate><guid>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/wolfi/apk-version-selection/</guid><description>&lt;p&gt;This document explains how to specify version constraints for packages installed with the apk tool, as well as apko and melange. Understanding version selection will enable you to choose the version you&amp;rsquo;re looking for, determine what updates and vulnerability fixes you receive, and can allow you to reproduce an image&amp;rsquo;s digest through exact version matching.&lt;/p&gt;
&lt;h2 id="version-selection-in-apko-and-melange" class="heading-2" data-heading-level="2"&gt;
&lt;span class="heading-text"&gt;Version selection in apko and melange&lt;/span&gt;
&lt;a href="#version-selection-in-apko-and-melange" class="anchor" aria-label="Link to Version selection in apko and melange" title="Link to this section"&gt;
&lt;svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"&gt;
&lt;path d="M6.833 8.125H4C3 8.125 2.146 7.77067 1.438 7.062C0.729333 6.354 0.375 5.5 0.375 4.5C0.375 3.5 0.729333 2.646 1.438 1.938C2.146 1.22933 3 0.875 4 0.875H6.833V1.958H4C3.30533 1.958 2.708 2.208 2.208 2.708C1.708 3.208 1.458 3.80533 1.458 4.5C1.458 5.19467 1.708 5.792 2.208 6.292C2.708 6.792 3.30533 7.042 4 7.042H6.833V8.125ZM5.208 5.042V3.958H10.792V5.042H5.208ZM9.167 8.125V7.042H12C12.6947 7.042 13.292 6.792 13.792 6.292C14.292 5.792 14.542 5.19467 14.542 4.5C14.542 3.80533 14.292 3.208 13.792 2.708C13.292 2.208 12.6947 1.958 12 1.958H9.167V0.875H12C13 0.875 13.854 1.22933 14.562 1.938C15.2707 2.646 15.625 3.5 15.625 4.5C15.625 5.5 15.2707 6.354 14.562 7.062C13.854 7.77067 13 8.125 12 8.125H9.167Z" fill="currentColor"/&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;All the examples in this document focus on usage with the &lt;code&gt;apk&lt;/code&gt; tool, but the same semantics apply to &lt;code&gt;apk add&lt;/code&gt; as well as references in an apko or melange &lt;code&gt;packages&lt;/code&gt; field:&lt;/p&gt;</description></item><item><title>melange FAQs</title><link>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/faq/</link><pubDate>Mon, 17 Oct 2022 11:07:52 +0200</pubDate><guid>https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/build-tools/melange/faq/</guid><description>&lt;h2 id="do-i-need-to-understand-melange-to-use-chainguard-containers" class="heading-2" data-heading-level="2"&gt;
&lt;span class="heading-text"&gt;Do I need to understand melange to use Chainguard Containers?&lt;/span&gt;
&lt;a href="#do-i-need-to-understand-melange-to-use-chainguard-containers" class="anchor" aria-label="Link to Do I need to understand melange to use Chainguard Containers?" title="Link to this section"&gt;
&lt;svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"&gt;
&lt;path d="M6.833 8.125H4C3 8.125 2.146 7.77067 1.438 7.062C0.729333 6.354 0.375 5.5 0.375 4.5C0.375 3.5 0.729333 2.646 1.438 1.938C2.146 1.22933 3 0.875 4 0.875H6.833V1.958H4C3.30533 1.958 2.708 2.208 2.208 2.708C1.708 3.208 1.458 3.80533 1.458 4.5C1.458 5.19467 1.708 5.792 2.208 6.292C2.708 6.792 3.30533 7.042 4 7.042H6.833V8.125ZM5.208 5.042V3.958H10.792V5.042H5.208ZM9.167 8.125V7.042H12C12.6947 7.042 13.292 6.792 13.792 6.292C14.292 5.792 14.542 5.19467 14.542 4.5C14.542 3.80533 14.292 3.208 13.792 2.708C13.292 2.208 12.6947 1.958 12 1.958H9.167V0.875H12C13 0.875 13.854 1.22933 14.562 1.938C15.2707 2.646 15.625 3.5 15.625 4.5C15.625 5.5 15.2707 6.354 14.562 7.062C13.854 7.77067 13 8.125 12 8.125H9.167Z" fill="currentColor"/&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;No. Chainguard built &lt;a href="https://github.com/chainguard-dev/melange"&gt;melange&lt;/a&gt; as part of its open source tooling used for the &lt;a href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/open-source/wolfi/"&gt;Wolfi&lt;/a&gt; operating system. While you can check out the &lt;a href="https://github.com/chainguard-dev/melange"&gt;project on GitHub&lt;/a&gt; and learn more, it’s not a prerequisite for using or working with &lt;a href="https://deploy-preview-3421--ornate-narwhal-088216.netlify.app/chainguard/chainguard-images/"&gt;Chainguard Containers&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>