Ver Fonte

python y ssk-key de infra

Luciano Andrade há 7 anos atrás
pai
commit
0af0a5aaeb
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -4,7 +4,7 @@ EXPOSE 8000
 #RUN echo "Acquire::http::Proxy \"http://172.17.0.5:3142\";" | tee /etc/apt/apt.conf.d/00aptproxy
 
 RUN apt-get update 
-RUN apt-get install -yq git wget vim tmux php5-cli php5-mysql php5-curl
+RUN apt-get install -yq python git wget vim tmux php5-cli php5-mysql php5-curl
 
 RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 RUN php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
@@ -18,6 +18,7 @@ RUN rm /opt/stats/var/cache/* -rf
 RUN mkdir ~/.ssh
 RUN ssh-keyscan -H bitbucket.org >> ~/.ssh/known_hosts
 RUN ssh-keyscan -H -p 222 200.50.168.30 >> ~/.ssh/known_hosts
+RUN ssh-keyscan -H -p 222 infra.flowdat.com >> ~/.ssh/known_hosts
 
 WORKDIR /opt/stats