From 5f186754fe54e9a5b0f7cdea1b295778ddd6796a Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Sat, 29 Oct 2022 01:53:14 +0200 Subject: containers: T2216: Include busybox container image, used in smoketests (1MB) --- data/live-build-config/hooks/live/41-init-podman-images.chroot | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 data/live-build-config/hooks/live/41-init-podman-images.chroot (limited to 'data/live-build-config/hooks/live/41-init-podman-images.chroot') diff --git a/data/live-build-config/hooks/live/41-init-podman-images.chroot b/data/live-build-config/hooks/live/41-init-podman-images.chroot new file mode 100755 index 00000000..1915a40f --- /dev/null +++ b/data/live-build-config/hooks/live/41-init-podman-images.chroot @@ -0,0 +1,8 @@ +#!/bin/sh + +# Download busybox container image for smoketests (only ~1MB) +# Skopeo only added on development builds + +if command -v skopeo &>/dev/null; then + skopeo copy --additional-tag docker.io/library/busybox:stable docker://docker.io/library/busybox:stable docker-archive://usr/share/vyos/busybox-stable.tar +fi -- cgit v1.2.3