mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 13:41:46 +02:00
Updates #15328 Change-Id: Ib33baf8756b648176dce461b25169e079cbd5533 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
13 lines
671 B
Docker
13 lines
671 B
Docker
# Copyright (c) Tailscale Inc & AUTHORS
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
FROM alpine:3.22
|
|
RUN apk add --no-cache ca-certificates iptables iptables-legacy iproute2 ip6tables iputils
|
|
# Alpine 3.19 replaced legacy iptables with nftables based implementation. We
|
|
# can't be certain that all hosts that run Tailscale containers currently
|
|
# suppport nftables, so link back to legacy for backwards compatibility reasons.
|
|
# TODO(irbekrm): add some way how to determine if we still run on nodes that
|
|
# don't support nftables, so that we can eventually remove these symlinks.
|
|
RUN ln -s /sbin/iptables-legacy /sbin/iptables
|
|
RUN ln -s /sbin/ip6tables-legacy /sbin/ip6tables
|