From ed258d8e7f71734eba0773283292f878f94ae4d2 Mon Sep 17 00:00:00 2001 From: kjake Date: Sat, 23 Mar 2024 19:16:06 -0400 Subject: [PATCH] Update netatalk3 is kinda being maintained again and is in newer releases of Debian. This update re-bases on Debian 11 (Bullseye) and uses their packages instead of no-longer-maintained custom packages. This update should support multiple architectures of Linux as well, for example some Raspberry PIs. Target build arch: linux/386,linux/amd64,linux/arm64/v8,linux/arm/v5,linux/arm/v7,linux/ppc64le,linux/s390x,linux/mips64le --- Dockerfile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9e5dfb..71030f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ ENV PERSISTENT_RUNTIME_DEPS \ libwrap0 \ libcrack2 \ libavahi-client3 \ - libevent-2.1-6 \ + libevent-2.1-7 \ netbase \ - python \ + python3 \ perl ENV DEBIAN_FRONTEND=noninteractive @@ -22,13 +22,8 @@ RUN apt-get update \ avahi-daemon \ curl \ ca-certificates \ + netatalk \ \ - && DEBIAN_RELEASE="$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release)" \ - && NETATALK_VERSION="$(curl -Ls https://api.github.com/repos/dgilman/netatalk-debian/releases/latest | grep 'tag_name' | cut -d\" -f4)" \ - && curl -Ls -o libatalk18_${NETATALK_VERSION}_amd64.deb "https://github.com/dgilman/netatalk-debian/releases/download/${NETATALK_VERSION}/${DEBIAN_RELEASE}_libatalk18_${NETATALK_VERSION}_amd64.deb" \ - && curl -Ls -o netatalk_${NETATALK_VERSION}_amd64.deb "https://github.com/dgilman/netatalk-debian/releases/download/${NETATALK_VERSION}/${DEBIAN_RELEASE}_netatalk_${NETATALK_VERSION}_amd64.deb" \ - && dpkg -i *.deb \ - && rm *.deb \ && apt-get --assume-yes upgrade \ && apt-get --quiet --yes autoclean \ && apt-get --quiet --yes autoremove \