Collection of cookbooks for Podman Quadlets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
522 B

FROM quay.io/centos/centos:stream10
# Install Vsftpd
RUN dnf config-manager --set-enabled crb \
&& dnf install -y epel-release \
&& dnf install -y vsftpd procps-ng shadow-utils authselect authselect-libs pam gdbm \
&& authselect select local --force \
&& dnf clean all
# /data holds the data to share through vsftpd
VOLUME /data
# Expose FTP port + ports for passive mode
EXPOSE 21 20000-20100
ADD container-entrypoint /
ADD vsftpd-virtual /etc/pam.d/vsftpd-virtual
ENTRYPOINT [ "/container-entrypoint" ]
CMD [ ]