version 1.1

This commit is contained in:
2024-10-09 15:06:56 +02:00
parent d81fb678e3
commit 836a412a6d
536 changed files with 63922 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
FROM alpine:3.3
MAINTAINER Alexis Manin <alexis.manin@geomatys.com>
# fix locale
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Install needed programs
RUN apk update
RUN apk add vsftpd
RUN apk add supervisor
# Configure FTP service
ADD vsftpd.conf /etc/
# Supervisor configuration
ADD supervisord.conf /etc/
RUN mkdir -p /var/rhomeo/ftp
# Configure FTP users
RUN addgroup ftpusers
ADD userpass /tmp/
RUN adduser rhomeoftp -G ftpusers -h /var/rhomeo/ftp < /tmp/userpass && rm /tmp/userpass
VOLUME /var/rhomeo/ftp
EXPOSE 20 21
ENTRYPOINT ["supervisord"]