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