From 1243e701620d71dfcf0eedb880f40e7fef59415d Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 13 Jul 2020 13:55:10 +0100 Subject: Do not have bootstrap run sudo commands. Your site user may not have access to sudo, and your admin user may cause permission issues if used to do the git checkout, or the Perl module installation. Document the separate script to install system packages instead. Co-authored-by: Sam Pearson --- bin/docker.preinit | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/docker.preinit') diff --git a/bin/docker.preinit b/bin/docker.preinit index 459e89de2..501878185 100644 --- a/bin/docker.preinit +++ b/bin/docker.preinit @@ -34,6 +34,7 @@ fi su $FMS_DB_USER -c "${FMS_ROOT}/bin/docker-cobrand" # Ensure things are up to date - schema, CSS, etc +${FMS_ROOT}/bin/install_packages docker su $FMS_DB_USER -c "${FMS_ROOT}/script/update" # Update reports -- cgit v1.2.3