samba add-on with option to set the ports

This commit is contained in:
Bogdan Vlaicu
2020-05-14 21:57:05 -04:00
parent 5abfb7049f
commit f888a8150f
15 changed files with 427 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
ARG BUILD_FROM
FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8
# Setup base
RUN \
apk add --no-cache \
samba-common-tools \
samba-server \
\
&& mkdir -p /var/lib/samba \
&& touch \
/etc/samba/lmhosts \
/var/lib/samba/account_policy.tdb \
/var/lib/samba/registry.tdb \
/var/lib/samba/winbindd_idmap.tdb
# Copy data
COPY rootfs /