Add swarm manifest

This commit is contained in:
2021-02-15 10:21:47 +01:00
parent 2710490b7b
commit 2f0b32e25d
9 changed files with 131 additions and 64 deletions

View File

@@ -8,11 +8,7 @@ RUN apk add --no-cache samba-dc \
# Remove default config data, if any
&& rm -rf /etc/samba \
&& rm -rf /var/lib/samba \
&& rm -rf /var/log/samba \
# Create needed symbolic links
&& ln -s /samba/etc /etc/samba \
&& ln -s /samba/lib /var/lib/samba \
&& ln -s /samba/log /var/log/samba
&& rm -rf /var/log/samba
# Ports
EXPOSE 37/udp \

View File

@@ -78,5 +78,5 @@ then
exec /usr/sbin/samba -i
fi
# If we get here, the user wants to run their own command. Let them.
# If we get here, the user wants to run their own command. Let them do.
exec "$@"