mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-30 14:24:23 +00:00
Merge pull request #2252 from balena-os/pin-iptables-to-legacy
Pin iptables to 1.8.9 (legacy)
This commit is contained in:
commit
77e596cc13
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user