mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-31 20:45:47 +00:00
directus: install build-essential, isolated-vm needs it when prebuild fetch times out
This commit is contained in:
@@ -41,6 +41,8 @@ function update_script() {
|
||||
/opt/directus/uploads \
|
||||
/opt/directus/extensions
|
||||
|
||||
ensure_dependencies build-essential
|
||||
|
||||
msg_info "Updating Directus"
|
||||
cd /opt/directus
|
||||
$STD npm install --omit=dev "directus@${CHECK_UPDATE_RELEASE#v}"
|
||||
|
||||
@@ -13,6 +13,10 @@ setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y build-essential
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PG_DB_NAME="directus" PG_DB_USER="directus" setup_postgresql_db
|
||||
|
||||
Reference in New Issue
Block a user