Actually install a SSH client in the docker image

This commit is contained in:
Torsten Grote 2018-02-22 11:34:26 -03:00
parent aa8de07ee5
commit e86ca61348
No known key found for this signature in database
GPG Key ID: 3E5F77D92CF891FF
2 changed files with 6 additions and 2 deletions

View File

@ -11,12 +11,12 @@ ADD . /repomaker
COPY docker/settings_docker.py ./repomaker/
COPY docker/apache.conf /etc/apache2/sites-available/repomaker.conf
COPY docker/ssh_config /etc/ssh/ssh_config
COPY docker/wait-for ./
COPY docker/httpd-foreground ./
RUN apt update && \
apt install netcat gettext apache2 libapache2-mod-wsgi-py3 -y --no-install-recommends && \
apt install openssh-client netcat gettext apache2 libapache2-mod-wsgi-py3 -y --no-install-recommends && \
cat docker/ssh_config >> /etc/ssh/ssh_config && \
a2dissite 000-default && \
a2ensite repomaker && \
pip3 install -r requirements.txt && \

View File

@ -1,3 +1,7 @@
# Automatically add new host keys to the user known hosts files.
# This is required for pushing to remote servers in the background.
Host *
StrictHostKeyChecking no