samba-container (sha256:c39c270582343a45c297e2143bf6648d1b93864e4e5e77d00405a6d8a3820a07)
Installation
docker pull git.andr3w.net/amd/samba-container@sha256:c39c270582343a45c297e2143bf6648d1b93864e4e5e77d00405a6d8a3820a07
sha256:c39c270582343a45c297e2143bf6648d1b93864e4e5e77d00405a6d8a3820a07
Image Layers
ADD file:3ea7c69e4bfac2ebb6f86baaedab31827c86a594dba8080a49928e211ad3c7a0 in / |
CMD ["bash"] |
RUN /bin/sh -c apt-get update && apt-get install -y samba # buildkit |
ARG SMBUSER=share |
ARG SMBPW=do_not_use_insecure |
RUN |2 SMBUSER=share SMBPW=do_not_use_insecure /bin/sh -c groupadd -g 5858 "$SMBUSER" && useradd -u 5858 -g 5858 "$SMBUSER" && (echo "$SMBPW";echo "$SMBPW") | smbpasswd -sa "$SMBUSER" # buildkit |
EXPOSE map[137/udp:{} 138/udp:{} 139/tcp:{} 445/tcp:{}] |
RUN |2 SMBUSER=share SMBPW=do_not_use_insecure /bin/sh -c mkdir /share && chown $SMBUSER:$SMBUSER /share && chmod 0777 /share # buildkit |
VOLUME [/share] |
COPY ./etc /etc # buildkit |
COPY run.sh ./ # buildkit |
CMD ["/bin/sh" "-c" "./run.sh"] |
Details
Versions (5)
View all
2023-03-10
2023-03-10
latest
2023-03-10
2023-03-07
2023-03-07
2023-03-02
2023-03-03
2023-02-28
2023-02-28