summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)Author
2025-07-09Docker: T7568: add apt-get update as last commandKyrylo Yatsenko
Some of GitHub actions were relying on cache from apt-get update being available. My previous changes broke those GitHub actions. Add `apt-get update` as one of last commands, which adds ~20Mb, but still 2.04Gb -> 2.01Gb for vyos-build comparing with Dockerfile without cache cleaning. No changes for vyos image as I hope it is not used in any automatic scripts that use `apt-get install` without prior `apt-get update`.
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.
2025-05-15Merge pull request #961 from c-po/kernel-perf-T7253Viacheslav Hletenko
Kernel: T7253: build linux-perf-$version package
2025-05-15Docker: T7253: re-add build-essential dependency for vyos-1xChristian Breunig
vyshim consists out of C code which needs the build-essential package.
2025-05-13docker: T7450: use PCRE2 for vyos-utils and libvyosconfigDaniil Baturin
2025-05-12Docker: T7253: remove Kernel build dependencies to shrink container imageChristian Breunig
Move the Kernel build dependencies to package.toml to unbload the build container even more.
2025-04-27T7405: add missing dependency kpartx for all archsDate Huang
Signed-off-by: Date Huang <tjjh89017@hotmail.com>
2025-03-30T7292: add build dependency python3-protobufJohn Estabrook
Used at build of python modules to autogenerate dataclasses from vyconf.proto.
2025-03-18Docker: T861: move to bookworm-slim distributionChristian Breunig
2025-03-16T7121: add build dependency protobuf-compilerJohn Estabrook
2025-03-15Docker: T5400: do not initialize OPAM environment at allChristian Breunig
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.
2025-03-15Revert "Docker: T5400: ensure OPAM environment is always present"Christian Breunig
This reverts commit b8f99c754702b094ace7fd632f3a035736a44fb4.
2025-03-07Docker: T5400: ensure OPAM environment is always presentChristian Breunig
2025-03-04Docker: T5400: move build of libvyosconfig to vyos-1xJohn Estabrook
libvyosconfig is both a build and a run dependency of vyos-1x. Satisfying the build dependency within the Docker image requires coordination of updates to vyos-build/libvyosconfig/vyos-1x on any changes to the library; simplify this process by moving the build to a step of the vyos-1x Makefile.
2025-02-21Merge pull request #903 from oniko94/currentDaniil Baturin
T6353: Add cracklib dependencies, fix local Docker build
2025-02-20Docker: T861: add sbsigntool to build containerChristian Breunig
2025-02-17docker: T6353: Add libcrack2 dependencies and fix local Docker buildoniko94
2025-02-14docker: T7170: fix sed pattern for change in OPAM install.shJohn Estabrook
2025-01-20T7046: T6342: update libvyosconfig commit hashJohn Estabrook
2025-01-13T2326: opennhrp: Removed OpenNHRP packageaapostoliuk
Removed OpenNHRP package
2024-12-23T6674: remove all references to JenkinsChristian Breunig
2024-12-10T6718: update libvyosconfig commit hash for fix to dlopen lib nameJohn Estabrook
2024-12-06Merge pull request #824 from jestabro/vyconf-minimalDaniil Baturin
T6718: use the vyconf daemon for validation of set commands
2024-12-06docker: T6718: libvyosconfig update for vyconfJohn Estabrook
2024-12-02docker: T6929: fix sed pattern for change in Opam install.shJohn Estabrook
2024-11-14scripts: T6877: add a script for merging multiple flavor filesDaniil Baturin
2024-10-25docker: T6718: vyos1x-config is now pinned in libvyosconfig build scriptJohn Estabrook
2024-10-24Merge pull request #820 from HollyGurza/T6684Daniil Baturin
T6684: new Debian package repo snapshot logic
2024-10-24T6684: new Debian package repo snapshot logickhramshinr
Added functionality to store version information for temporarily installed packages.
2024-10-08Merge pull request #799 from rebortg/T973_goChristian Breunig
T973: upgrade go version in dockerfile
2024-10-07docker: T4318: libvyosconfig update for set_tag valueJohn Estabrook
2024-10-07T973: upgrade go version in dockerfilerebortg
2024-10-01docker: T6742: libvyosconfig update for childless node renderingDaniil Baturin
2024-09-27build-image: T6742: update vyos1x-config for childless non-leaf node fixesDaniil Baturin
2024-09-17build: T861: Add socat as needed by commit 7f23b57sarthurdev
2024-09-16Merge pull request #758 from HollyGurza/T6684Daniil Baturin
T6684: new Debian package repo snapshot logic
2024-09-16T6684: new Debian package repo snapshot logickhramshinr
patch live-build to save information about all installed packages and their source repo, including temporary packages
2024-09-14Docker: T861: fix warning for UID_MIN/UID_MAC out of rangeChristian Breunig
Rise upper limit for UID when working in an Active Direcotry integrated environment. This solves the warning: vyos_bld's uid 1632000007 outside of the UID_MIN 1000 and UID_MAX 60000 range.
2024-09-05Docker: T861: fix warnings about latest ENV key=value syntaxChristian Breunig
2024-06-26Docker: T6510: add missing build dependencies for vyos-configd testsChristian Breunig
2024-05-27T6404: update vyos1x-config commit referenceChristian Breunig
2024-05-23docker: T6388: use OCaml 4.14.2 for package buildsDaniil Baturin
2024-05-19Docker: add missing dependency on cmake to build accel-pppChristian Breunig
2024-05-07T6311: Docker add dependency asciidoc-base for nftablesViacheslav Hletenko
Add dependency `asciidob-base` for build nftables
2024-05-06T6307: Add dependency procps to build vyos-1xViacheslav Hletenko
This fixes the sysctl dependency ``` ====================================================================== ERROR: test_sysctl_read (test_utils.TestVyOSUtils.test_sysctl_read) ---------------------------------------------------------------------- Traceback (most recent call last): File "/vyos/work/tmp/vyos-1x/src/tests/test_utils.py", line 28, in test_sysctl_read self.assertEqual(sysctl_read('net.ipv4.conf.lo.forwarding'), '1') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/vyos/work/tmp/vyos-1x/python/vyos/utils/system.py", line 28, in sysctl_read tmp = run(['sysctl', '-nb', name], capture_output=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'sysctl' ```
2024-05-04Docker: T6283: T6250: no need to include rtrlib and libyang in generalChristian Breunig
FRR build tracks the rtrlib and libyang version, so only one place is needed to build to sources.
2024-04-15docker: T3664: add dependencies for raw disk buildingDaniil Baturin
2024-04-06Debian: T6199: add pylint do list of build dependenciesChristian Breunig
2024-04-03T6199: remove unneeded python3-sphinx build dependency for vyos-1xChristian Breunig
2024-03-29Docker: T6180: update commit refs for vyos1x-config/libvyosconfigJohn Estabrook