user-access/Containerfile

26 lines
434 B
Plaintext
Raw Normal View History

2023-12-20 14:32:08 +00:00
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
2016-10-13 11:52:14 +00:00
2018-06-07 11:45:46 +00:00
RUN apk add --no-cache \
2020-08-24 07:55:47 +00:00
openssl \
2018-06-07 11:45:46 +00:00
openssh-client \
2020-08-24 07:55:47 +00:00
zlib \
2021-01-29 09:34:06 +00:00
perl \
2018-06-07 11:45:46 +00:00
proftpd \
proftpd-mod_sftp \
proftpd-utils
2017-09-06 08:46:01 +00:00
2017-09-06 09:00:17 +00:00
RUN addgroup -g 2222 access
2017-09-06 08:46:01 +00:00
RUN addgroup proftpd access
2016-10-13 11:52:14 +00:00
2017-09-06 08:46:01 +00:00
RUN rm /etc/proftpd/dhparams.pem
2017-09-06 09:08:35 +00:00
RUN mkdir /etc/proftpd/keys/ && mkdir /run/proftpd
RUN chown -R proftpd:proftpd /run/proftpd
2017-09-06 08:46:01 +00:00
ADD /rootfs /
WORKDIR /
2016-10-13 11:52:14 +00:00
2021-09-28 13:55:15 +00:00
VOLUME /var/lib/ftp/data
2017-06-13 13:36:25 +00:00
2021-09-28 13:55:15 +00:00
EXPOSE 2222