0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Do not install additional recommended packages

This commit is contained in:
Adrian Dvergsdal 2024-07-06 12:09:46 +02:00
parent eacf693131
commit edfb7d06db
No known key found for this signature in database
GPG key ID: C1E9E2D9552A42D2

View file

@ -6,7 +6,7 @@ MAINTAINER Adrian Dvergsdal [atmoz.net]
# - OpenSSH needs /var/run/sshd to run # - OpenSSH needs /var/run/sshd to run
# - Remove generic host keys, entrypoint generates unique keys # - Remove generic host keys, entrypoint generates unique keys
RUN apt-get update && \ RUN apt-get update && \
apt-get -y install openssh-server && \ DEBIAN_FRONTEND="noninteractive" apt-get -y install --no-install-recommends openssh-server && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
mkdir -p /var/run/sshd && \ mkdir -p /var/run/sshd && \
rm -f /etc/ssh/ssh_host_*key* rm -f /etc/ssh/ssh_host_*key*