set umask
This commit is contained in:
parent
bec1a34036
commit
78d4f972d1
2 changed files with 4 additions and 4 deletions
|
@ -7,13 +7,13 @@ RUN adduser -h /var/lib/proftp -u 2222 -D -G proftp proftp
|
|||
|
||||
ADD /rootfs /
|
||||
|
||||
RUN apk add --no-cache openssl openldap tar gcc make g++ openldap-dev
|
||||
RUN apk add --no-cache openssl openldap tar gcc make g++ openldap-dev file
|
||||
|
||||
RUN mkdir /tmp/proftpd
|
||||
RUN wget -qO- https://github.com/proftpd/proftpd/archive/$PROFTP_VERSION.tar.gz | tar -xz -C /tmp/proftpd --strip 1
|
||||
|
||||
WORKDIR /tmp/proftpd
|
||||
RUN ./configure --with-modules=mod_ldap
|
||||
RUN ./configure --with-modules=mod_ldap --with-modules=mod_tls
|
||||
RUN patch -p1 -i /musl_mempcpy.patch
|
||||
RUN make && make install
|
||||
|
||||
|
@ -21,6 +21,6 @@ RUN rm -r /tmp/proftpd
|
|||
RUN rm /musl_mempcpy.patch
|
||||
WORKDIR /
|
||||
|
||||
RUN apk del tar gcc make g++ openldap-dev
|
||||
RUN apk del tar gcc make g++ openldap-dev file
|
||||
|
||||
EXPOSE 21
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue