From 865374821bc3af33092ce4d59a8dc35bd2e57792 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 1 May 2024 14:58:11 +0200 Subject: [PATCH] Alpine Linux 3.19 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca2400b..b26d9fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 ARG FAIL2BAN_VERSION=1.1.0 -ARG ALPINE_VERSION=3.18 +ARG ALPINE_VERSION=3.19 FROM --platform=$BUILDPLATFORM alpine:${ALPINE_VERSION} AS fail2ban-src RUN apk add --no-cache git @@ -23,6 +23,8 @@ RUN --mount=from=fail2ban-src,source=/src/fail2ban,target=/tmp/fail2ban,rw \ nftables \ openssh-client-default \ python3 \ + py3-dnspython \ + py3-inotify \ ssmtp \ tzdata \ wget \ @@ -32,8 +34,6 @@ RUN --mount=from=fail2ban-src,source=/src/fail2ban,target=/tmp/fail2ban,rw \ py3-pip \ py3-setuptools \ python3-dev \ - && pip3 install --no-cache-dir --upgrade pip \ - && pip3 install --no-cache-dir dnspython3 pyinotify \ && cd /tmp/fail2ban \ && 2to3 -w --no-diffs bin/* fail2ban \ && python3 setup.py install --without-tests \