From ddd682d793cf94d5ac6bb2a2b56f6fc3e417a12c Mon Sep 17 00:00:00 2001 From: syahril Date: Wed, 21 Oct 2026 17:51:22 +0700 Subject: [PATCH] fix(docs): use python -m pip to bypass /root/bin permission denied in docker exec --- docs/panduan_integrasi_existing_airflow.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/panduan_integrasi_existing_airflow.md b/docs/panduan_integrasi_existing_airflow.md index eea3eaf..ff11af7 100644 --- a/docs/panduan_integrasi_existing_airflow.md +++ b/docs/panduan_integrasi_existing_airflow.md @@ -240,11 +240,15 @@ docker ps --filter "name=airflow" --format "table {{.Names}}\t{{.Image}}\t{{.Sta Gunakan `docker exec` untuk memasang pustaka yang belum ada (`astronomer-cosmos` dan `dlt`) langsung ke worker/scheduler tanpa mematikan layanan. *(Catatan: Pustaka `apache-airflow-providers-git`, `dbt-postgres`, `duckdb`, `pyiceberg`, dan `sling` sudah tersedia bawaan (*built-in*) di image resmi)*: ```bash # Injeksi ke Scheduler -docker exec -u airflow pip install --no-cache-dir \ +docker exec -u airflow python -m pip install --no-cache-dir \ astronomer-cosmos==1.15.1 dlt[duckdb,filesystem]==1.6.1 # Injeksi ke DAG Processor -docker exec -u airflow pip install --no-cache-dir \ +docker exec -u airflow python -m pip install --no-cache-dir \ + astronomer-cosmos==1.15.1 dlt[duckdb,filesystem]==1.6.1 + +# Injeksi ke Webserver (Konsistensi UI) +docker exec -u airflow python -m pip install --no-cache-dir \ astronomer-cosmos==1.15.1 dlt[duckdb,filesystem]==1.6.1 # Verifikasi instalasi berhasil