From 304e73cd18ef036c2f6c18ac768d39f8e8793b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Fri, 31 Jul 2026 07:49:17 +0200 Subject: [PATCH] Firecrawl: Add dependency (#16174) * Add deps * formatting --- ct/firecrawl.sh | 4 +++- install/firecrawl-install.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ct/firecrawl.sh b/ct/firecrawl.sh index aa183bab8..928e39129 100644 --- a/ct/firecrawl.sh +++ b/ct/firecrawl.sh @@ -30,6 +30,8 @@ function update_script() { exit fi + ensure_dependencies build-essential + if check_for_gh_release "firecrawl" "firecrawl/firecrawl"; then msg_info "Stopping Services" systemctl stop firecrawl firecrawl-playwright @@ -40,7 +42,7 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "firecrawl" "firecrawl/firecrawl" "tarball" "latest" "/opt/firecrawl" restore_backup - + FDB_VERSION="$(awk -F= '/^ARG FDB_VERSION=/{print $2; exit}' /opt/firecrawl/apps/api/Dockerfile)" if [[ -z "$FDB_VERSION" ]]; then msg_error "FDB_VERSION pin not found in upstream Dockerfile" diff --git a/install/firecrawl-install.sh b/install/firecrawl-install.sh index f0cca03a5..96bcaa8ba 100644 --- a/install/firecrawl-install.sh +++ b/install/firecrawl-install.sh @@ -15,6 +15,7 @@ update_os msg_info "Installing Dependencies" $STD apt install -y \ + build-essential \ cmake \ git \ nftables \ @@ -43,7 +44,6 @@ FDB_ARCH="$(get_system_arch)" fetch_and_deploy_gh_release "foundationdb-clients" "apple/foundationdb" "binary" "$FDB_VERSION" "/opt/foundationdb-clients" "foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH}.deb" msg_ok "Configured FDB" - PG_DB_NAME="firecrawl" PG_DB_USER="firecrawl" PG_DB_EXTENSIONS="pgcrypto,pg_cron" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db msg_info "Configuring pg_cron"