0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2025-03-09 15:16:00 -04:00

Remove dos2unix after finishing its job

The dos2unix package should be removed after finishing its job.
This commit is contained in:
vienleidl 2023-04-25 15:28:19 +07:00 committed by GitHub
parent ff58e916cf
commit 927da83da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,9 @@ RUN dos2unix /entrypoint
RUN chmod +x /entrypoint
RUN chmod +x /usr/local/bin/create-sftp-user
RUN apk del dos2unix --force-broken-world --progress && \
rm -rf /var/cache/apk/*
EXPOSE 22
ENTRYPOINT ["/entrypoint"]