X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=docker-build%2Fremote-installer%2FDockerfile;h=fa11396d4dc726d2f2a1856e76207a0350a454dd;hp=98f6cebd8e4b4eba14af98e266cb56854f0192d4;hb=ef60e677d618879ad7850d3527abaa33004006cd;hpb=a33b390c51b2f79e61781921f8ca36f2f0ed17ca diff --git a/docker-build/remote-installer/Dockerfile b/docker-build/remote-installer/Dockerfile index 98f6ceb..fa11396 100644 --- a/docker-build/remote-installer/Dockerfile +++ b/docker-build/remote-installer/Dockerfile @@ -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 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 \