podman: only install libc6-dev-i386 and syslinux-utils on x86_64

This commit is contained in:
Jeremy Soller 2025-10-21 11:19:00 -06:00
parent bf65e41266
commit a4133e45d0
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -36,7 +36,6 @@ RUN useradd --create-home --no-log-init --uid _UID_ poduser \
gtk-doc-tools \
help2man \
intltool \
libc6-dev-i386 \
libexpat-dev \
libfontconfig1-dev \
libfuse3-dev \
@ -72,7 +71,6 @@ RUN useradd --create-home --no-log-init --uid _UID_ poduser \
ruby \
scons \
ssh \
syslinux-utils \
texinfo \
unifdef \
unzip \
@ -84,4 +82,9 @@ RUN useradd --create-home --no-log-init --uid _UID_ poduser \
xxd \
zip \
zlib1g-dev \
zstd
zstd \
&& if [ "$(uname -m)" = "x86_64" ]; then \
apt-get install -y --no-install-recommends \
libc6-dev-i386 \
syslinux-utils \
; fi