mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 23:02:16 +00:00
Deploying to gh-pages from @ 6bf91a0b60
🚀
This commit is contained in:
@@ -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>
|
||||
|
@@ -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> cat <span style="color:#4e9a06"><<EOF > 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>
|
||||
|
@@ -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 && 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 && 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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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 <regex>
|
||||
|
||||
|
||||
<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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -142,7 +142,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>
|
||||
@@ -266,7 +266,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">
|
||||
|
@@ -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) -> packageB (requires: A) -> packageC (requires: C)</code>. The container which is running your build then <strong>inherits</strong> it’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>=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">"foo"</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">"bar"</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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user