Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kjake committed Mar 23, 2024
1 parent 1eef211 commit ed258d8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down

0 comments on commit ed258d8

Please sign in to comment.