summaryrefslogtreecommitdiff
path: root/docker-vyos/Dockerfile
AgeCommit message (Collapse)Author
2026-03-18T8401: remove docker-vyos in favour of OCI (Open Container Image) formatChristian Breunig
vyos_bld 5b8e3dd7a1a8:/vyos/vyos-build [current] # ls -al build/*.iso -rw-r--r-- 1 root root 680525824 Mar 18 08:21 build/live-image-amd64.hybrid.iso -rw-r--r-- 1 root root 680525824 Mar 18 08:31 build/vyos-2026.03.18-0821-oci-generic-amd64.iso vyos_bld 5b8e3dd7a1a8:/vyos/vyos-build [current] # sudo make oci I: mount ISO build/live-image-amd64.hybrid.iso I: extracting squashfs content I: generate OCI container image vyos-2026.03.18-0821-oci.tar I: to import the previously generated OCI image to your local images run: docker import vyos-2026.03.18-0821-oci.tar vyos:2026.03.18-0821-oci --change 'CMD [/sbin/init]' vyos_bld 5b8e3dd7a1a8:/vyos/vyos-build [current] # ls -al *.tar -rw-r--r-- 1 root root 2039336960 Mar 18 08:38 vyos-2026.03.18-0821-oci.tar
2025-06-22Docker: T7568: clean apt cache + clean some /tmp filesKyrylo Yatsenko
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.
2024-06-11docker: arm: T6474: Initial support for dynamic arch toml loading.Leonardo Amaral
Signed-off-by: Leonardo Amaral <contato@leonardoamaral.com.br>
2024-02-19docker: T4440: add OCI container labelsDaniil Baturin
Original implementation by jtcarnes
2023-11-26T2640: update VyOS in docker image to current versionChristian Breunig
2023-11-26Docker: update README for VyOS inside containerChristian Breunig
2020-06-25Docker: T2640: Added ability to build Docker images with VyOSzsdc
This implementation works, but it is on the proof-of-concept stage and requires extended testing.