-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from Dorianteffo/dev_dorian
dbt executable, dockerfile airflow
- Loading branch information
Showing
4 changed files
with
10 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
# FROM apache/airflow:2.8.3 | ||
|
||
FROM apache/airflow:2.8.3-python3.10 | ||
FROM apache/airflow:2.8.3 | ||
|
||
COPY requirements.txt / | ||
|
||
RUN pip install apache-airflow==${AIRFLOW_VERSION} astronomer-cosmos | ||
|
||
# # Create the virtual environment using virtualenv | ||
# RUN python -m venv dbt_venv | ||
|
||
# # Activate the virtual environment | ||
# RUN source dbt_venv/bin/activate && \ | ||
# pip install --no-cache-dir --ignore-installed dbt-snowflake && \ | ||
# deactivate | ||
# install dbt-snowflake in a virtual env | ||
RUN export PIP_USER=false && python -m venv dbt_venv && source dbt_venv/bin/activate && \ | ||
pip install --no-cache-dir --ignore-installed dbt-snowflake && \ | ||
deactivate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# Astro Runtime includes the following pre-installed providers packages: https://docs.astronomer.io/astro/runtime-image-architecture#provider-packages | ||
astronomer-cosmos | ||
apache-airflow-providers-snowflake |