Deploying to gh-pages from @ 6bf91a0b60 🚀

This commit is contained in:
mudler
2022-04-13 16:48:49 +00:00
parent f31795512b
commit c1c0b70d15
39 changed files with 164 additions and 164 deletions

View File

@@ -27,13 +27,13 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/packages/specfile/" /><meta property="article:section" content="docs" />
<meta property="article:modified_time" content="2022-03-23T18:04:07+01:00" /><meta property="og:site_name" content="Luet" />
<meta property="article:modified_time" content="2022-04-13T18:47:38+02:00" /><meta property="og:site_name" content="Luet" />
<meta itemprop="name" content="Specfile">
<meta itemprop="description" content="Luet specfile syntax
">
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="wordCount" content="2333">
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="2350">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Specfile"/>
<meta name="twitter:description" content="Luet specfile syntax
@@ -146,7 +146,7 @@ if (!doNotTrack) {
aria-label="Search this site…"
autocomplete="off"
data-offline-search-index-json-src="/offline-search-index.72b6075a770705d05a5c74adb1af94ee.json"
data-offline-search-index-json-src="/offline-search-index.0f51bd7fc3def1dd029df014c676d0d3.json"
data-offline-search-base-href="/"
data-offline-search-max-results="10"
>
@@ -168,7 +168,7 @@ if (!doNotTrack) {
aria-label="Search this site…"
autocomplete="off"
data-offline-search-index-json-src="/offline-search-index.72b6075a770705d05a5c74adb1af94ee.json"
data-offline-search-index-json-src="/offline-search-index.0f51bd7fc3def1dd029df014c676d0d3.json"
data-offline-search-base-href="/"
data-offline-search-max-results="10"
>
@@ -479,7 +479,7 @@ The directory must represent exactly how the files will be ultimately installed
<h4 id="difference-between-requires-and-requires-with-requires_final_images-true">Difference between <code>requires</code> and <code>requires</code> with <code>requires_final_images: true</code></h4>
<p><code>requires</code> generates a graph from all the <code>images</code> of the specfile referenced inside the list. This means it builds a chain of images that are used to build the packages, e.g.: <code>packageA(image: busybox) -&gt; packageB (requires: A) -&gt; packageC (requires: C)</code>. The container which is running your build then <strong>inherits</strong> it&rsquo;s parents from a chain of order resolution, provided by the SAT solver.</p>
<p>When specifying <code>requires_final_images: true</code> luet builds an artifact for each of the packages listed from their compilation specs and it will later <em>squash</em> them together in a new container image which is then used in the build process to create an artifact.</p>
<p>The key difference is about <em>where</em> your build is going to run from. By specifying <code>requires_final_images</code> it will be constructed a new image with the content of each package - while if setting it to false, it will order the images appropriately and link them together with the Dockerfile <code>FROM</code> field. That allows to reuse the same images used to build the packages in the require section - or - create a new one from the result of each package compilation.</p>
<p>The key difference is about <em>where</em> your build is going to run from. By specifying <code>requires_final_images</code> it will be constructed a new image with the content of each package specified and its dependencies - while if setting it to false, it will order the images appropriately and link them together with the Dockerfile <code>FROM</code> field. That allows to reuse the same images used to build the packages in the require section - or - create a new one from the result of each package compilation.</p>
<h2 id="keywords">Keywords</h2>
<p>Here is a list of the full keyword refereces for the <code>build.yaml</code> file.</p>
<h3 id="conflicts"><code>conflicts</code></h3>
@@ -603,7 +603,7 @@ The directory must represent exactly how the files will be ultimately installed
<h3 id="requires_final_images"><code>requires_final_images</code></h3>
<p><em>since luet&gt;=0.17.0</em></p>
<p>(optional) A boolean flag which instruct luet to use the final images in the <code>requires</code> field.</p>
<p>By setting <code>requires_final_images: true</code> in the compilation spec, packages in the <code>requires</code> section will be first compiled, and afterwards the final packages are squashed together in a new image that will be used during build.</p>
<p>By setting <code>requires_final_images: true</code> in the compilation spec, packages in the <code>requires</code> section and its dependencies will be fetched if available or compiled, and afterwards the result is squashed together in a new image that will be used as a source of the build process of the package.</p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#204a87;font-weight:bold">requires</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
</span><span style="color:#f8f8f8;text-decoration:underline"></span>- <span style="color:#204a87;font-weight:bold">name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#4e9a06">&#34;foo&#34;</span><span style="color:#f8f8f8;text-decoration:underline">
</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">category</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#4e9a06">&#34;bar&#34;</span><span style="color:#f8f8f8;text-decoration:underline">
@@ -826,7 +826,7 @@ The directory must represent exactly how the files will be ultimately installed
<div class="text-muted mt-5 pt-3 border-top">
Last modified March 23, 2022: <a href="https://github.com/mudler/luet/commit/18881c3283944d9d20461e05b0a7af5a02041776">:arrow_up: Bump version to 0.30.3 (18881c3)</a>
Last modified April 13, 2022: <a href="https://github.com/mudler/luet/commit/6bf91a0b6047db3e77fda7be20806120a2272522">:arrow_up: Bump version to 0.31.0 (6bf91a0)</a>
</div>
</div>