Dockerfile: install iptables in the container.

We need iptables to make subnet routing work. Without it,
Tailscale mostly works, but subnet routing mysteriously doesn't.

Signed-off-by: David Anderson <dave@natulte.net>
pull/75/head
David Anderson 5 years ago
parent fd1aa4f7f6
commit c7e2fcd517

@ -15,5 +15,5 @@ COPY . .
RUN go install -v ./cmd/... RUN go install -v ./cmd/...
FROM alpine:3.11 FROM alpine:3.11
RUN apk add --no-cache ca-certificates RUN apk add --no-cache ca-certificates iptables
COPY --from=build-env /go/bin/* /usr/local/bin/ COPY --from=build-env /go/bin/* /usr/local/bin/

Loading…
Cancel
Save