Add swarm manifest
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user