misc: add misc/rebuild-stubs-with-podman files

This commit is contained in:
Markus F.X.J. Oberhumer
2022-08-23 05:40:44 +02:00
parent e87fc60391
commit ef547034f6
3 changed files with 91 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#! /usr/bin/env bash
## vim:set ts=4 sw=4 et:
set -e; set -o pipefail
argv0=$0; argv0abs="$(readlink -fn "$argv0")"; argv0dir="$(dirname "$argv0abs")"
# create the image from Dockerfile
# using a rootless Podman container
image=upx-stubtools-20210104-v1
podman build -t "$image" -f "$argv0dir/Dockerfile" "$argv0dir"
podman image list "$image"
podman image tree "$image"