samba (debian)
Published 2023-01-20 03:26:18 -05:00 by michael
Installation
docker pull code.balsillie.net/containers/samba:debian
sha256:7a4d1c22ef72117fcd3875eb59f3e29f908a170758ea10eb4d1bf7dea25c621e
Image Layers
ADD file:0eae0dca665c7044bf242cb1fc92cb8ea744f5af2dd376a558c90bc47349aefe in / |
CMD ["bash"] |
ARG S6_OVERLAY_VERSION=3.1.3.0 |
ENV DEBIAN_FRONTEND=noninteractive |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends ca-certificates tar xz-utils samba libnss-ldapd && apt-get autoremove -y --purge && apt-get autoclean && rm -rf /var/lib/apt/lists/* |
ADD aa5724168749287451f2d298ac987c7f6c5616e78480ec12991eaf3b728694cc in /tmp |
ADD b4055bf8627312f1a43adbf14e33ca2abad708867e848162f1e829ad626aa136 in /tmp |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz && rm /tmp/s6-overlay-*.tar.xz && mkdir -p /etc/s6-overlay/s6-rc.d/nslcd/ && mkdir -p /etc/s6-overlay/s6-rc.d/smbd/ && mkdir -p /etc/s6-overlay/s6-rc.d/smbpasswd/ && echo "longrun" > /etc/s6-overlay/s6-rc.d/nslcd/type && echo "longrun" > /etc/s6-overlay/s6-rc.d/smbd/type && echo "smbpasswd" > /etc/s6-overlay/s6-rc.d/smbd/dependencies && echo "oneshot" > /etc/s6-overlay/s6-rc.d/smbpasswd/type && echo 'smbpasswd -w Pow3rLAN' > /etc/s6-overlay/s6-rc.d/smbpasswd/up && touch /etc/s6-overlay/s6-rc.d/user/contents.d/nslcd && touch /etc/s6-overlay/s6-rc.d/user/contents.d/smbd && echo "passwd: files ldap" >> /etc/nsswitch.conf && echo "group: files ldap" >> /etc/nsswitch.conf && echo "shadow: files ldap" >> /etc/nsswitch.conf |
COPY file:42cdcd94a42a8abd7e58a97b45a0ac9111504669fdd564427fe5681c712b1f94 in /etc/s6-overlay/s6-rc.d/nslcd/run |
COPY file:04b845c66796bf60c3870e32ebcc5f4172d1e1299de1fc7aeee42c63ae73709a in /etc/s6-overlay/s6-rc.d/smbd/run |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c chmod +x /etc/s6-overlay/s6-rc.d/nslcd/run && chmod +x /etc/s6-overlay/s6-rc.d/smbd/run |
EXPOSE 139/tcp 445/tcp |
ENTRYPOINT ["/init"] |