Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

adding pytest to the requirements #10

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM apache/airflow:2.6.3
FROM apache/airflow:2.8.3-python3.11

USER root

Expand All @@ -7,3 +7,5 @@ RUN mkdir -p ${AIRFLOW_HOME} && chown -R airflow: ${AIRFLOW_HOME}
USER airflow

RUN airflow db init
COPY requirements.txt ./requirements.txt
RUN pip install --no-cache-dir --upgrade --user -r requirements.txt
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
#
# Feel free to modify this file to suit your needs.
---
version: '3.8'
version: '3.11'
x-airflow-common:
&airflow-common
# In order to add custom dependencies or upgrade provider packages you can use your extended image.
# Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml
# and uncomment the "build" line below, Then run `docker-compose build` to build the images.
image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.6.3}
image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.8.3}
build:
context: .
dockerfile: Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
apache-airflow==2.6.3
apache-airflow==2.8.3
pytest
Loading