Add aarch64 support
[ta/remote-installer.git] / docker-build / remote-installer / Dockerfile
index 98f6ceb..e5ff569 100644 (file)
@@ -12,7 +12,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM centos:7.6.1810
+ARG BASEIMAGE_TAG
+
+FROM "${BASEIMAGE_TAG}"
 MAINTAINER Ralf Mueller <ralf.1.mueller@nokia.com>
 
 ENV \
@@ -52,7 +54,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 openssh-clients sshpass nmap-ncat \
+ipmitool openssh-clients sshpass nmap-ncat python-configparser\
 # mod_ssl \
 && systemctl enable sshd \
 && systemctl enable lighttpd \
@@ -95,7 +97,7 @@ RUN pushd "$INSTALLER_MOUNT" \
 RUN mkdir -p "$SCRIPTS_DIR" \
 && mkdir -p "$ETC_REMOTE_INST"
 
-COPY src/scripts/get_journals.sh src/scripts/print_hosts.py "$SCRIPTS_DIR"/
+COPY src/scripts/get_journals.sh "$SCRIPTS_DIR"/
 
 RUN echo '#!/bin/bash -x' >>$STARTUP \
 && echo "function handle_sigterm() {" >>$STARTUP \