misc: update podman images

This commit is contained in:
Markus F.X.J. Oberhumer
2023-01-06 01:48:32 +01:00
parent 513b00a30e
commit 696d0eec64
7 changed files with 48 additions and 18 deletions
@@ -6,7 +6,7 @@ argv0=$0; argv0abs="$(readlink -fn "$argv0")"; argv0dir="$(dirname "$argv0abs")"
# run an interactive shell in the image
# using a rootless Podman container
image=upx-stubtools-20221212-v1
image=upx-stubtools-20221212-v2
flags=( -ti --read-only --rm )
flags+=( --cap-drop=all ) # drop all capabilities
@@ -53,8 +53,24 @@ podman run "${flags[@]}" "$image" bash -l
# ./build/extra/gcc/release/upx --version
# make -C build/extra/gcc/release test
# and we can also rebuild the UPX docs the container:
# and we can also rebuild UPX with -m32:
# cd /home/upx/src/upx
# make -C doc clean all
# git status doc
# git diff doc
# rm -rf ./build/extra/gcc-m32/release
# make build/extra/gcc-m32/release
# # run tests
# ./build/extra/gcc-m32/release/upx --version
# make -C build/extra/gcc-m32/release test
# and we can also rebuild UPX with -mx32: (NOTE: needs CONFIG_X86_X32_ABI on host kernel!)
# cd /home/upx/src/upx
# rm -rf ./build/extra/gcc-mx32/release
# make build/extra/gcc-mx32/release
# # run tests (needs CONFIG_X86_X32_ABI on host kernel)
# ./build/extra/gcc-mx32/release/upx --version
# make -C build/extra/gcc-mx32/release test
# and we can also rebuild the UPX docs the container:
# cd /home/upx/src/upx/doc
# make clean all
# git status .
# git diff .