samba (archlinux)
Published 2023-01-20 16:22:15 -05:00 by michael
Installation
docker pull code.balsillie.net/containers/samba:archlinux
sha256:387d9ed2b440e356e3924dc32b849b96988f194de461bf356cce9ddf82cb0a4d
Image Layers
COPY dir:c42d1863a8894c21ad7df2ef8e80841e1d4ee7bc52129bb6c42421257045c0f0 in / |
/bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=TEMPLATE_VERSION_ID' /etc/os-release |
ENV LANG=C.UTF-8 |
CMD ["/usr/bin/bash"] |
ARG S6_OVERLAY_VERSION=3.1.3.0 |
|1 S6_OVERLAY_VERSION=3.1.3.0 /bin/sh -c pacman -Syu --noconfirm && pacman -S --noconfirm samba nss-pam-ldapd && pacman -Sc --noconfirm |
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/sbin/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 && sed -i 's/passwd: files systemd/passwd: files ldap systemd/g' /etc/nsswitch.conf && sed -i 's/group: files \[SUCCESS=merge] systemd/group: files ldap [SUCCESS=merge] systemd/g' /etc/nsswitch.conf && sed -i 's/shadow: files systemd/shadow: files ldap systemd/g' /etc/nsswitch.conf |
COPY file:7043d61b7a6f443be0fec54b79bce7e314156f7ce9fc218e9b44ce6342fa719a 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"] |