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:
parent
ff58e916cf
commit
927da83da4
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ RUN dos2unix /entrypoint
|
||||||
RUN chmod +x /entrypoint
|
RUN chmod +x /entrypoint
|
||||||
RUN chmod +x /usr/local/bin/create-sftp-user
|
RUN chmod +x /usr/local/bin/create-sftp-user
|
||||||
|
|
||||||
|
RUN apk del dos2unix --force-broken-world --progress && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 22
|
EXPOSE 22
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint"]
|
ENTRYPOINT ["/entrypoint"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue