containers/ftp (2025-04-15_01-44-03)
Published 2025-04-15 01:44:05 -04:00 by michael
Installation
docker pull code.balsillie.net/michael/containers/ftp:2025-04-15_01-44-03
sha256:0a6422d814bc3aa6ed38312b94737dbcc1c37a9105a50338b6e13330fc69b9d0
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 01:44:05 -04:00
Versions (16)
View all
Container
1
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