containers/ftp (latest)
Published 2025-04-15 02:29:20 -04:00 by michael
Installation
docker pull code.balsillie.net/michael/containers/ftp:latest
sha256:9b4067dc4f1a75dea8b27e3a62072f54ca638bac0248427a911819f5aadc57e3
Image Layers
# debian.sh --arch 'amd64' out/ 'bookworm' '@1743984000' |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends vsftpd && apt-get clean # buildkit |
WORKDIR /root |
COPY password.txt /root/password.txt # buildkit |
RUN /bin/sh -c useradd -U -M -s /usr/sbin/nologin -d /srv/ftp scan && mkdir -p /srv/ftp && chown scan:scan /srv/ftp && chmod 755 /srv/ftp && echo "scan:$(cat password.txt)" | chpasswd && rm password.txt # buildkit |
COPY --chown=scan:scan --chmod=664 vsftpd.conf vsftpd.user_list /etc/ # buildkit |
USER scan |
WORKDIR /srv/ftp |
ENTRYPOINT ["/bin/bash"] |
CMD ["-c" "trap : TERM INT; /usr/sbin/vsftpd /etc/vsftpd.conf"] |
Details
2025-04-15 02:29:20 -04:00
Versions (16)
View all
Container
3
OCI / Docker
linux/amd64
46 MiB
2025-04-15_02-29-18
2025-04-15
latest
2025-04-15
2025-04-15_02-24-22
2025-04-15
2025-04-15_02-17-34
2025-04-15
2025-04-15_01-55-00
2025-04-15