Files
mDMS/infra/samba-canon/Dockerfile
m 2aa532e717 chore: initial commit — spinout from m/otto
Spun out mDMS strategy + tooling from m/otto into its own repo on 2026-05-15.

Migrated:
- docs/strategy.md (was: m/otto:docs/mdms-strategy.md)
- infra/paperless/ (config + audit + migrate scripts)
- infra/samba-canon/ (Canon MB5100 SMB1 bridge container)

History in m/otto: issues #429–#438. Going forward, all mDMS issues
file here. Sibling m/paperless (separate repo) remains the bare
Docker Compose for Paperless-ngx itself.
2026-05-15 17:31:20 +02:00

19 lines
430 B
Docker

FROM alpine:3.13
RUN apk add --no-cache \
samba \
samba-common-tools \
shadow \
&& rm -rf /var/cache/apk/*
RUN rm -rf /etc/samba/* /var/lib/samba/* /var/log/samba/* \
&& mkdir -p /etc/samba /var/lib/samba/private /var/log/samba /var/run/samba /inbox
COPY smb.conf /etc/samba/smb.conf
COPY entrypoint.sh /entrypoint.sh
RUN chmod 0755 /entrypoint.sh
EXPOSE 139 445
ENTRYPOINT ["/entrypoint.sh"]