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

@@ -142,7 +142,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"
>
@@ -164,7 +164,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"
>
@@ -409,7 +409,7 @@ if (!doNotTrack) {
<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>

View File

@@ -27,12 +27,12 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/overview/build_packages/" /><meta property="article:section" content="docs" />
<meta property="article:published_time" content="2017-01-05T00:00:00+00:00" />
<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="Building packages">
<meta itemprop="description" content="How to build packages with Luet
"><meta itemprop="datePublished" content="2017-01-05T00:00:00+00:00" />
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="1195">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Building packages"/>
@@ -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"
>
@@ -523,7 +523,7 @@ $~/workdir&gt; cat <span style="color:#4e9a06">&lt;&lt;EOF &gt; package3/definit
<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>

View File

@@ -27,12 +27,12 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/overview/constraints/" /><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="CSP, SAT &amp;&amp; RL">
<meta itemprop="description" content="How Luet turns Image resolution into CSP
">
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="241">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="CSP, SAT &amp;&amp; RL"/>
@@ -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"
>
@@ -403,7 +403,7 @@ They share the same SAT logic of expansion, allowing to swap entire version rang
<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>

View File

@@ -142,7 +142,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"
>
@@ -164,7 +164,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"
>
@@ -440,7 +440,7 @@ Luet allows also to create packages entirely from Docker images content. In this
<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>

View File

@@ -27,12 +27,12 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/overview/repositories/" /><meta property="article:section" content="docs" />
<meta property="article:published_time" content="2017-01-05T00:00:00+00:00" />
<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="Creating Luet repositories">
<meta itemprop="description" content="How to create Luet repositories
"><meta itemprop="datePublished" content="2017-01-05T00:00:00+00:00" />
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="883">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Creating Luet repositories"/>
@@ -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"
>
@@ -507,7 +507,7 @@ foo-bar-0.1-builder.image.tar foo-bar-0.1.image.tar foo-bar-0.1.metadata.yaml
<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>

View File

@@ -27,12 +27,12 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/overview/usage/" /><meta property="article:section" content="docs" />
<meta property="article:published_time" content="2019-12-14T00:00:00+00:00" />
<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="CLI usage">
<meta itemprop="description" content="How to install packages, manage repositories, ...
"><meta itemprop="datePublished" content="2019-12-14T00:00:00+00:00" />
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="288">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="CLI usage"/>
@@ -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"
>
@@ -448,7 +448,7 @@ $ luet search --table &lt;regex&gt;
<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>

View File

@@ -27,12 +27,12 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/packages/collections/" /><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="Collections">
<meta itemprop="description" content="Group a set of package build spec with templating
">
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="114">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Collections"/>
@@ -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"
>
@@ -408,7 +408,7 @@ if (!doNotTrack) {
<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>

View File

@@ -142,7 +142,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"
>
@@ -164,7 +164,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"
>
@@ -588,7 +588,7 @@ distro/raspbian/buster
<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>

View File

@@ -142,7 +142,7 @@ The directory must represent exactly how the files will be ultimately installed
&lt;h4 id=&#34;difference-between-requires-and-requires-with-requires_final_images-true&#34;&gt;Difference between &lt;code&gt;requires&lt;/code&gt; and &lt;code&gt;requires&lt;/code&gt; with &lt;code&gt;requires_final_images: true&lt;/code&gt;&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;requires&lt;/code&gt; generates a graph from all the &lt;code&gt;images&lt;/code&gt; of the specfile referenced inside the list. This means it builds a chain of images that are used to build the packages, e.g.: &lt;code&gt;packageA(image: busybox) -&amp;gt; packageB (requires: A) -&amp;gt; packageC (requires: C)&lt;/code&gt;. The container which is running your build then &lt;strong&gt;inherits&lt;/strong&gt; it&amp;rsquo;s parents from a chain of order resolution, provided by the SAT solver.&lt;/p&gt;
&lt;p&gt;When specifying &lt;code&gt;requires_final_images: true&lt;/code&gt; luet builds an artifact for each of the packages listed from their compilation specs and it will later &lt;em&gt;squash&lt;/em&gt; them together in a new container image which is then used in the build process to create an artifact.&lt;/p&gt;
&lt;p&gt;The key difference is about &lt;em&gt;where&lt;/em&gt; your build is going to run from. By specifying &lt;code&gt;requires_final_images&lt;/code&gt; 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 &lt;code&gt;FROM&lt;/code&gt; 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.&lt;/p&gt;
&lt;p&gt;The key difference is about &lt;em&gt;where&lt;/em&gt; your build is going to run from. By specifying &lt;code&gt;requires_final_images&lt;/code&gt; 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 &lt;code&gt;FROM&lt;/code&gt; 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.&lt;/p&gt;
&lt;h2 id=&#34;keywords&#34;&gt;Keywords&lt;/h2&gt;
&lt;p&gt;Here is a list of the full keyword refereces for the &lt;code&gt;build.yaml&lt;/code&gt; file.&lt;/p&gt;
&lt;h3 id=&#34;conflicts&#34;&gt;&lt;code&gt;conflicts&lt;/code&gt;&lt;/h3&gt;
@@ -266,7 +266,7 @@ The directory must represent exactly how the files will be ultimately installed
&lt;h3 id=&#34;requires_final_images&#34;&gt;&lt;code&gt;requires_final_images&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;&lt;em&gt;since luet&amp;gt;=0.17.0&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;(optional) A boolean flag which instruct luet to use the final images in the &lt;code&gt;requires&lt;/code&gt; field.&lt;/p&gt;
&lt;p&gt;By setting &lt;code&gt;requires_final_images: true&lt;/code&gt; in the compilation spec, packages in the &lt;code&gt;requires&lt;/code&gt; section will be first compiled, and afterwards the final packages are squashed together in a new image that will be used during build.&lt;/p&gt;
&lt;p&gt;By setting &lt;code&gt;requires_final_images: true&lt;/code&gt; in the compilation spec, packages in the &lt;code&gt;requires&lt;/code&gt; 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.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;requires&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;&lt;/span&gt;- &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;foo&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;category&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;bar&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;

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>

View File

@@ -27,12 +27,12 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luet.io/docs/concepts/packages/templates/" /><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="Templated packages">
<meta itemprop="description" content="Use templates to fine tune build specs
">
<meta itemprop="dateModified" content="2022-03-23T18:04:07+01:00" />
<meta itemprop="dateModified" content="2022-04-13T18:47:38+02:00" />
<meta itemprop="wordCount" content="403">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Templated packages"/>
@@ -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"
>
@@ -486,7 +486,7 @@ if (!doNotTrack) {
<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>

View File

@@ -142,7 +142,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"
>
@@ -164,7 +164,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"
>
@@ -481,7 +481,7 @@ $ luet --plugin test-foo install -y foopackage
<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>