Remove SSH service from the built prod image
This commit is contained in:
parent
871f4b0d69
commit
57d1680bef
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ RUN apt-get remove -y --auto-remove python-dev g++ libjpeg62-dev libevent-dev li
|
|||
|
||||
### End common section ###
|
||||
|
||||
# Remove SSH.
|
||||
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh
|
||||
|
||||
# Install the binary dependencies
|
||||
ADD binary_dependencies binary_dependencies
|
||||
RUN gdebi --n binary_dependencies/*.deb
|
||||
|
|
Reference in a new issue