mkdir -p $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/lib/grafana/plugins #echo """#!/bin/bash -xe #grafana-cli plugins install grafana-image-renderer #mkdir -p /usr/lib/grafana #mv /var/lib/grafana/plugins/ /usr/lib/grafana/ #""" > $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/install.sh #chmod 755 $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/install.sh #mv $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/etc/resolv.conf /tmp #echo "nameserver 9.9.9.9" > $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/etc/resolv.conf #chroot $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP /install.sh #mv -f /tmp/resolv.conf $IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/etc/resolv.conf