forked from ManuelLR/docker-netatalk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
36 lines (30 loc) · 792 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM debian:buster-slim
# Set noninteractive mode (no prompts, accept defaults everywhere)
ENV DEBIAN_FRONTEND=noninteractive
# Set default variables
ENV AFP_SPOTLIGHT no
ENV AFP_ZEROCONF no
ENV AFP_NAME Netatalk-server
RUN \
set -ex \
&& apt-get update \
&& apt-get install \
--no-install-recommends \
--fix-missing \
--assume-yes \
netatalk \
avahi-daemon \
dbus \
lsof \
procps \
python3-dbus \
tracker \
quota \
&& apt-get --quiet --yes autoclean \
&& apt-get --quiet --yes autoremove \
&& apt-get --quiet --yes clean \
&& rm -rf /var/lib/apt/lists/*
COPY docker-entrypoint.sh /docker-entrypoint.sh
COPY afp.conf /etc/netatalk/
EXPOSE 548
CMD ["/docker-entrypoint.sh"]