user-access/Dockerfile

34 lines
710 B
Docker
Raw Normal View History

2018-11-26 16:50:03 +00:00
FROM thallian/confd-env:latest
2016-10-13 11:52:14 +00:00
2018-06-07 11:45:46 +00:00
RUN apk add --no-cache \
libressl \
openssh-client \
openldap \
zlib
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main \
2018-11-26 16:51:40 +00:00
libcrypto1.1
2018-06-07 11:45:46 +00:00
2020-07-26 08:34:59 +00:00
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community \
2018-06-07 11:45:46 +00:00
proftpd \
proftpd-mod_ldap \
proftpd-mod_sftp \
proftpd-mod_auth_file \
2018-06-08 11:42:18 +00:00
proftpd-mod_site_misc \
2018-06-07 11:45:46 +00:00
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
2017-09-06 08:46:01 +00:00
VOLUME /etc/proftpd/keys /var/lib/ftp/data
2017-06-13 13:36:25 +00:00
EXPOSE 22