misc: update podman images

This commit is contained in:
Markus F.X.J. Oberhumer
2022-11-26 19:12:26 +01:00
parent 9f5d67e27c
commit 741cb3a136
6 changed files with 14 additions and 26 deletions
@@ -6,10 +6,10 @@ argv0=$0; argv0abs="$(readlink -fn "$argv0")"; argv0dir="$(dirname "$argv0abs")"
# create the image from Dockerfile
# using a rootless Podman container
# NOTE: this image is based on rebuild-stubs-with-upx/upx-stubtools-20210104-vX,
# NOTE: this image is based on rebuild-stubs-with-upx/upx-stubtools-20210104-v8,
# so you have to create that image first
# WARNING: we install many packages, so the resulting image needs A LOT of disk space!
image=upx-cross-compile-20221108-v7
image=upx-cross-compile-20221108-v8
podman build -t "$image" -f "$argv0dir/Dockerfile" "$argv0dir"
@@ -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-cross-compile-20221108-v7
image=upx-cross-compile-20221108-v8
flags=( -ti --read-only --rm )
flags+=( --cap-drop=all ) # drop all capabilities
@@ -1,7 +1,7 @@
# NOTE: this image is based on rebuild-stubs-with-upx/upx-stubtools-20210104-vX,
# NOTE: this image is based on rebuild-stubs-with-upx/upx-stubtools-20210104-v8,
# so you have to create that image first
# WARNING: we install many packages, so the resulting image needs A LOT of disk space!
FROM localhost/upx-stubtools-20210104-v7
FROM localhost/upx-stubtools-20210104-v8
ARG DEBIAN_FRONTEND=noninteractive
USER root
@@ -9,7 +9,7 @@ USER root
# Ubuntu 22.04
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y \
# Linux cross compilers
# Linux glibc cross compilers
g++-aarch64-linux-gnu \
g++-alpha-linux-gnu \
g++-arm-linux-gnueabi \
@@ -28,7 +28,7 @@ RUN apt-get update && apt-get upgrade -y \
g++-s390x-linux-gnu \
g++-sh4-linux-gnu \
g++-sparc64-linux-gnu \
# Linux cross compilers - ILP32 on 64-bit CPUs
# Linux glibc cross compilers - ILP32 on 64-bit CPUs
g++-x86-64-linux-gnux32 \
# Windows cross compilers
g++-mingw-w64-i686 \