X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=docker-build%2Fremote-installer%2FDockerfile;h=38626eb4a29388a8d5f8452ea5622a05bb0cb3c4;hp=0c06de4e382816179787218d30a6f44ca6893209;hb=a772a381a84dd9b906a06c314b113b997bce71f4;hpb=d8795ffdbafa06c8fbe943878dc4d51de1105d69 diff --git a/docker-build/remote-installer/Dockerfile b/docker-build/remote-installer/Dockerfile index 0c06de4..38626eb 100644 --- a/docker-build/remote-installer/Dockerfile +++ b/docker-build/remote-installer/Dockerfile @@ -17,6 +17,7 @@ MAINTAINER Ralf Mueller ENV \ ETC_REMOTE_INST="/etc/remoteinstaller" \ +SCRIPTS_DIR="/opt/scripts" \ PW="root" \ API_PORT="15101" \ API_LISTEN_ADDR="0.0.0.0" \ @@ -50,7 +51,7 @@ RUN yum -y install systemd epel-release; yum clean all \ && yum install -y iproute wget openssh-server lighttpd nfs-utils \ python-setuptools python2-eventlet python-routes PyYAML \ python-netaddr pexpect net-tools tcpdump \ -ipmitool \ +ipmitool openssh-clients sshpass nmap-ncat \ # mod_ssl \ && systemctl enable sshd \ && systemctl enable lighttpd \ @@ -90,7 +91,10 @@ RUN pushd "$INSTALLER_MOUNT" \ && rm -rf * \ && popd -RUN mkdir -p "$ETC_REMOTE_INST" +RUN mkdir -p "$SCRIPTS_DIR" \ +&& mkdir -p "$ETC_REMOTE_INST" + +COPY src/scripts/get_journals.sh src/scripts/print_hosts.py "$SCRIPTS_DIR"/ RUN echo '#!/bin/bash' >>$STARTUP \ && echo 'printenv >/etc/remoteinstaller/environment' >>$STARTUP \