Skip to content

Commit

Permalink
upgrade python to 3.11.8 and airflow to 2.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kieronellis committed Jun 24, 2024
1 parent 5f03bd4 commit 2e0e158
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.8
FROM python:3.11.8

RUN python -m venv /opt/venv

# Install airflow
ENV PYTHON_VERSION 3.8
ENV AIRFLOW_VERSION=2.2.4
ENV PYTHON_VERSION 3.11.8
ENV AIRFLOW_VERSION=2.7.3
RUN pip install --upgrade pip
ENV CONSTRAINT_URL "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
RUN pip install "apache-airflow[async,postgres,google,cncf.kubernetes]==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
Expand Down

0 comments on commit 2e0e158

Please sign in to comment.