#!/bin/bash installLibrePortalImageWebUI() { isHeader "LibrePortal WebUI Image" isNotice "Building the LibrePortal WebUI Docker image..." local result=$(copyFolder "$install_containers_dir/libreportal" "$containers_dir" "$sudo_user_name") checkSuccess "Copy the LibrePortal to the containers folder" reconcileWebuiDirOwnership isNotice "Building libreportal-service image, this may take a while..." local result=$(runFileOp docker build -t libreportal-service -f $containers_dir/libreportal/Dockerfile $containers_dir/libreportal >/dev/null 2>&1) checkSuccess "Built LibrePortal WebUI Docker image" }