-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PIP: reverted changes from poetry to pip
* Reverted dependencies installation with poetry to pip. * Updated docker-compose file. * Updated dockerfile in order to use official airflow image. * Updated airflow.cfg configuration for airlfow 2.6.0.
- Loading branch information
Showing
11 changed files
with
136 additions
and
4,657 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
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,20 +1,14 @@ | ||
FROM python:3.10 | ||
|
||
WORKDIR /opt/airflow/ | ||
ENV AIRFLOW_HOME=/opt/airflow/ | ||
FROM apache/airflow:2.6.0-python3.10 | ||
|
||
ENV PYTHONBUFFERED=0 | ||
ENV AIRFLOW_UID=501 | ||
ENV PYTHONASYNCIODEBUG=1 | ||
|
||
COPY pyproject.toml ./pyproject.toml | ||
COPY poetry.lock ./poetry.lock | ||
|
||
COPY requirements.txt ./requirements.txt | ||
COPY requirements-test.txt ./requirements-test.txt | ||
COPY dags ./dags | ||
USER airflow | ||
RUN pip install --upgrade pip &&\ | ||
pip install --no-cache-dir --upgrade setuptools==59.1.1 &&\ | ||
pip install --no-cache-dir --upgrade wheel &&\ | ||
pip install --no-cache-dir poetry && \ | ||
poetry config virtualenvs.create false --local | ||
|
||
RUN poetry install | ||
ENTRYPOINT ["airflow"] | ||
pip install --no-cache-dir --user -r requirements.txt -r requirements-test.txt |
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
Oops, something went wrong.