# 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 \
&& 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 \
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 \