diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-30 22:23:05 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-12-30 22:28:25 +0100 |
commit | 0c8b53e6f7a94e914a7815328bbd16c0b3943d40 (patch) | |
tree | eba692b6f044b54db55fa079f3460b4ed920a38b /debian/vyos-1x-smoketest.postinst | |
parent | 4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2 (diff) | |
download | vyos-1x-0c8b53e6f7a94e914a7815328bbd16c0b3943d40.tar.gz vyos-1x-0c8b53e6f7a94e914a7815328bbd16c0b3943d40.zip |
container: T578: backport podman from 1.4 development branch
Diffstat (limited to 'debian/vyos-1x-smoketest.postinst')
-rwxr-xr-x | debian/vyos-1x-smoketest.postinst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/vyos-1x-smoketest.postinst b/debian/vyos-1x-smoketest.postinst new file mode 100755 index 000000000..18612804c --- /dev/null +++ b/debian/vyos-1x-smoketest.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +BUSYBOX_TAG="docker.io/library/busybox:stable" +OUTPUT_PATH="/usr/share/vyos/busybox-stable.tar" + +if [[ -f $OUTPUT_PATH ]]; then + rm -f $OUTPUT_PATH +fi + +skopeo copy --additional-tag "$BUSYBOX_TAG" "docker://$BUSYBOX_TAG" "docker-archive:/$OUTPUT_PATH" |