Merge pull request #2252 from balena-os/pin-iptables-to-legacy

Pin iptables to 1.8.9 (legacy)
This commit is contained in:
flowzone-app[bot] 2024-03-18 21:36:20 +00:00 committed by GitHub
commit 77e596cc13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends systemd
COPY ./build-utils/setup-journal.sh /
RUN /setup-journal.sh
###################################################
# Extra dependencies. This uses alpine 3.11 as the
# procmail package was removed on 3.12
@ -92,14 +91,18 @@ COPY mount-partitions.sh .
# Runtime dependencies
RUN apk add --update --no-cache \
$NODE \
iptables \
ip6tables \
rsync \
dbus \
dmidecode \
sqlite-libs \
lsblk
# Iptables should be pinned to 1.8.9 (legacy) as balenaOS still uses iptables-legacy
RUN apk add --update --no-cache \
--repository=http://dl-cdn.alpinelinux.org/alpine/v3.18/main \
iptables~=1.8.9 \
ip6tables~=1.8.9
ARG ARCH
ARG VERSION=master
ENV LED_FILE=/dev/null \