Erwin Tratar erwin
  • Joined on 2023-08-30

samba-dc (sha256:fc5248ace323bf0c08a232098b9d423933b0991a259af184d663433a022ca535)

Published 2025-06-22 21:23:23 +00:00 by erwin

Installation

docker pull git.unamail.net/erwin/samba-dc@sha256:fc5248ace323bf0c08a232098b9d423933b0991a259af184d663433a022ca535
sha256:fc5248ace323bf0c08a232098b9d423933b0991a259af184d663433a022ca535

Image Layers

ADD alpine-minirootfs-3.21.3-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG SAMBA_VERSION=4.20.6-r1
RUN |1 SAMBA_VERSION=4.20.6-r1 /bin/sh -c apk add --update --no-cache krb5 krb5-libs krb5-server-ldap ldb-tools samba-dc=$SAMBA_VERSION samba-winbind-clients=$SAMBA_VERSION tdb bind bind-libs bind-tools libcrypto3 libxml2 tzdata supervisor openssh-server openssh-client net-tools netcat-openbsd curl jq rsync which coreutils findutils grep && rm -rf /var/lib/apt/lists/* && rm -f /etc/samba/smb.conf # buildkit
RUN |1 SAMBA_VERSION=4.20.6-r1 /bin/sh -c ssh-keygen -A && mkdir -p /root/.ssh && chmod 700 /root/.ssh && { echo "PermitRootLogin yes"; echo "PasswordAuthentication no"; echo "PubkeyAuthentication yes"; echo "AuthorizedKeysFile .ssh/authorized_keys"; } >> /etc/ssh/sshd_config # buildkit
COPY --chmod=755 samba-entrypoint.sh /usr/local/bin/samba-entrypoint.sh # buildkit
COPY --chmod=755 sshd-entrypoint.sh /usr/local/bin/sshd-entrypoint.sh # buildkit
COPY supervisord.conf /etc/supervisord.conf # buildkit
RUN |1 SAMBA_VERSION=4.20.6-r1 /bin/sh -c mkdir -p /var/log && ln -s /usr/lib/samba/ldb /usr/lib/ldb/modules/ldb # buildkit
EXPOSE map[135/tcp:{} 139/tcp:{} 3268/tcp:{} 3269/tcp:{} 389/tcp:{} 445/tcp:{} 464/tcp:{} 53/tcp:{} 636/tcp:{} 88/tcp:{}]
VOLUME [/etc/samba /var/lib/samba]
ENTRYPOINT ["/usr/bin/supervisord" "-c" "/etc/supervisord.conf"]

Labels

Key Value
org.opencontainers.image.created 2025-06-22T21:22:54.389Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 746e6f3c0894b259b56e223ae022760a9e8beebf
org.opencontainers.image.source https://git.unamail.net/erwin/samba-rest-api
org.opencontainers.image.title samba-rest-api
org.opencontainers.image.url https://git.unamail.net/erwin/samba-rest-api
org.opencontainers.image.version main
Details
Container
2025-06-22 21:23:23 +00:00
0
OCI / Docker
linux/arm64
58 MiB
Versions (3) View all
main 2025-06-22
latest 2025-06-22
buildcache 2025-06-10