6 Commits

Author SHA1 Message Date
Kyrylo Yatsenko
92ff04087f Docker: T7568: clean apt cache + clean some /tmp files
This saves ~50Mb for vyos-build image: 2.04Gb -> 1.99Gb
And ~19Mb for vyos image: 155Mb -> 136Mb

Docker stores all files created in each layer so
command

```
RUN wget -O /tmp/open-vmdk-master.zip https://github.com/.../master.zip && \
     unzip -d /tmp/ /tmp/open-vmdk-master.zip && \
     cd /tmp/open-vmdk-master/ && make && 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.
2025-06-22 12:57:54 +03:00
Leonardo Amaral
946a608892
docker: arm: T6474: Initial support for dynamic arch toml loading.
Signed-off-by: Leonardo Amaral <contato@leonardoamaral.com.br>
2024-06-11 18:03:33 -03:00
Daniil Baturin
bca8043410 docker: T4440: add OCI container labels
Original implementation by jtcarnes
2024-02-19 14:15:52 +00:00
Christian Breunig
0411ec870e T2640: update VyOS in docker image to current version 2023-11-26 20:12:24 +01:00
Christian Breunig
a0d3d87813 Docker: update README for VyOS inside container 2023-11-26 13:53:34 +01:00
zsdc
ebc80decd2 Docker: T2640: Added ability to build Docker images with VyOS
This implementation works, but it is on the proof-of-concept stage and requires extended testing.
2020-06-25 14:57:16 +03:00