summaryrefslogtreecommitdiff
path: root/debian/vyos-1x-smoketest.postinst
blob: 18612804cde3660fdd92efc294affb78a8058f31 (plain)
1
2
3
4
5
6
7
8
9
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"