mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
* samba: Compatibility mode & upgrades * samba: Add missing newline to nmbd service * Update build.json Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
22 lines
391 B
Docker
22 lines
391 B
Docker
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 /
|