Remove SSH service from the built prod image

This commit is contained in:
Joseph Schorr 2014-11-19 16:35:33 -05:00
parent 871f4b0d69
commit 57d1680bef

View file

@ -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