<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-build.git/docker/Dockerfile, branch cla</title>
<subtitle>VyOS image build scripts (mirror of https://github.com/vyos/vyos-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-build.git/atom?h=cla</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-build.git/atom?h=cla'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/'/>
<updated>2025-06-22T09:57:54+00:00</updated>
<entry>
<title>Docker: T7568: clean apt cache + clean some /tmp files</title>
<updated>2025-06-22T09:57:54+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2025-06-21T19:42:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=92ff04087fb2e216aeadd86c9ca66605ac005e81'/>
<id>urn:sha1:92ff04087fb2e216aeadd86c9ca66605ac005e81</id>
<content type='text'>
This saves ~50Mb for vyos-build image: 2.04Gb -&gt; 1.99Gb
And ~19Mb for vyos image: 155Mb -&gt; 136Mb

Docker stores all files created in each layer so
command

```
RUN wget -O /tmp/open-vmdk-master.zip https://github.com/.../master.zip &amp;&amp; \
     unzip -d /tmp/ /tmp/open-vmdk-master.zip &amp;&amp; \
     cd /tmp/open-vmdk-master/ &amp;&amp; make &amp;&amp; make install
```

will store open-vmdk-master.zip and /tmp/open-vmdk-master
in the image even though there is a cleanup command later:

```
RUN rm -rf /tmp/*
```

The cleanup command just makes these files invisible in last layer.

So temporary file must be removed in same RUN command
not to be stored in the image.

This commit adds such removals.
</content>
</entry>
<entry>
<title>Merge pull request #961 from c-po/kernel-perf-T7253</title>
<updated>2025-05-15T17:59:55+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2025-05-15T17:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=fcbd8d6cb4a005a10e5e23cd66f9303f85d89ae5'/>
<id>urn:sha1:fcbd8d6cb4a005a10e5e23cd66f9303f85d89ae5</id>
<content type='text'>
Kernel: T7253: build linux-perf-$version package</content>
</entry>
<entry>
<title>Docker: T7253: re-add build-essential dependency for vyos-1x</title>
<updated>2025-05-15T04:50:04+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-05-15T04:50:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=ffcf9b46ae15ae82472f6172ece36823e38d8c09'/>
<id>urn:sha1:ffcf9b46ae15ae82472f6172ece36823e38d8c09</id>
<content type='text'>
vyshim consists out of C code which needs the build-essential
package.
</content>
</entry>
<entry>
<title>docker: T7450: use PCRE2 for vyos-utils and libvyosconfig</title>
<updated>2025-05-13T12:22:02+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-05-13T12:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=cae7cd90e028c564a4f9250354855763a690bcf8'/>
<id>urn:sha1:cae7cd90e028c564a4f9250354855763a690bcf8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Docker: T7253: remove Kernel build dependencies to shrink container image</title>
<updated>2025-05-12T18:45:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-05-12T16:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=73df823da16546ab3a498d137fcf96e09a5ba896'/>
<id>urn:sha1:73df823da16546ab3a498d137fcf96e09a5ba896</id>
<content type='text'>
Move the Kernel build dependencies to package.toml to unbload the build
container even more.
</content>
</entry>
<entry>
<title>T7405: add missing dependency kpartx for all archs</title>
<updated>2025-04-27T06:39:20+00:00</updated>
<author>
<name>Date Huang</name>
<email>tjjh89017@hotmail.com</email>
</author>
<published>2025-04-26T17:24:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=b8942277501002fde4f45c3d1449e80862ff2dde'/>
<id>urn:sha1:b8942277501002fde4f45c3d1449e80862ff2dde</id>
<content type='text'>
Signed-off-by: Date Huang &lt;tjjh89017@hotmail.com&gt;
</content>
</entry>
<entry>
<title>T7292: add build dependency python3-protobuf</title>
<updated>2025-03-30T21:40:29+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2025-03-28T19:09:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=7e70105a5e401a6a326c5618c1d0e6db5bd81abc'/>
<id>urn:sha1:7e70105a5e401a6a326c5618c1d0e6db5bd81abc</id>
<content type='text'>
Used at build of python modules to autogenerate dataclasses from
vyconf.proto.
</content>
</entry>
<entry>
<title>Docker: T861: move to bookworm-slim distribution</title>
<updated>2025-03-18T15:19:39+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-03-16T19:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=ccaec002d6494bc9caf6db36bcbb54f54b22ec3c'/>
<id>urn:sha1:ccaec002d6494bc9caf6db36bcbb54f54b22ec3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T7121: add build dependency protobuf-compiler</title>
<updated>2025-03-17T04:59:49+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2025-03-17T04:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=0a6c197226400c4bbe210b435baaa716d4fb8377'/>
<id>urn:sha1:0a6c197226400c4bbe210b435baaa716d4fb8377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Docker: T5400: do not initialize OPAM environment at all</title>
<updated>2025-03-15T20:13:25+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-03-15T20:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=a33a6d277007c2574c9fb6006eb0d20981e5fefe'/>
<id>urn:sha1:a33a6d277007c2574c9fb6006eb0d20981e5fefe</id>
<content type='text'>
Instead of trying to fix - what we call - "Schroedingers build environment"
in this container, we should rather fix the Makefiles of the individual
project using OCaml code.
</content>
</entry>
</feed>
