diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-11-07 15:42:04 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-11-07 15:42:04 +0100 |
commit | f9d19a14f96efc531595cea01601241dfff7473d (patch) | |
tree | f5e71cb9c9df11ee39808cc99d497fba1ef55fb4 /debian/vyos-1x-smoketest.postinst | |
parent | 81ca81d44d842ed5d22725774665324663e3aca7 (diff) | |
download | vyos-1x-f9d19a14f96efc531595cea01601241dfff7473d.tar.gz vyos-1x-f9d19a14f96efc531595cea01601241dfff7473d.zip |
containers: T2216: Move skopeo and busybox image to smoketest post-install
Diffstat (limited to 'debian/vyos-1x-smoketest.postinst')
-rwxr-xr-x | debian/vyos-1x-smoketest.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyos-1x-smoketest.postinst b/debian/vyos-1x-smoketest.postinst new file mode 100755 index 000000000..b33376bc3 --- /dev/null +++ b/debian/vyos-1x-smoketest.postinst @@ -0,0 +1,6 @@ +#!/bin/sh -e + +BUSYBOX_TAG="docker.io/library/busybox:stable" +OUTPUT_PATH="docker-archive://usr/share/vyos/busybox-stable.tar" + +skopeo copy --additional-tag "$BUSYBOX_TAG" "docker://$BUSYBOX_TAG" "$OUTPUT_PATH" |