samba (latest)
Published 2023-01-20 02:55:46 -05:00 by michael
Installation
docker pull code.balsillie.net/containers/samba:latest
sha256:ce00efbfec07d99e66cb0b0dac65e74c22bf255e21909a679096cfa158b7e28c
Image Layers
ADD file:e4d600fc4c9c293efe360be7b30ee96579925d1b4634c94332e2ec73f7d8eca1 in / |
CMD ["/bin/sh"] |
ARG S6_OVERLAY_VERSION=3.1.3.0 |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c apk add --no-cache samba-server samba-common-tools openssl nss-pam-ldapd |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c echo "passwd: files ldap" >> /etc/nsswitch.conf |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c echo "group: files ldap" >> /etc/nsswitch.conf |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c echo "shadow: files ldap" >> /etc/nsswitch.conf |
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 '/usr/bin/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 |
COPY file:ba68db2744b3988843c84fb946427c6d002d01e871f03e54b3e1a9250ebad962 in /etc/s6-overlay/s6-rc.d/nslcd/run |
COPY file:22d275d002a7db2f86212dc37a27d34a33d81a760159d7bf9587873c57fe05b2 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"] |