File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ WORKDIR /opt/airflow
1515RUN chown $UNAME:$GID /opt/airflow
1616
1717RUN apt-get -y update \
18- && apt-get install -y --no-install-recommends gcc libc6-dev libcurl4-openssl-dev libssl-dev \
18+ && apt-get install -y --no-install-recommends gcc libc6-dev libcurl4-openssl-dev libssl-dev python3.11 python3.11-venv python3.11-dev \
1919 && apt-get autoremove -yqq --purge \
2020 && apt-get clean \
2121 && rm -rf /var/lib/apt/lists/*
@@ -25,9 +25,7 @@ USER airflow
2525COPY --chown=airflow:airflow airflow_worker/requirements.txt "${AIRFLOW_HOME}/requirements.txt"
2626COPY --chown=airflow:airflow airflow_worker/requirements-in.txt "${AIRFLOW_HOME}/requirements-in.txt"
2727
28- RUN uv python install 3.11
29- RUN uv venv
30-
28+ RUN uv venv --python python3.11
3129RUN uv pip install "apache-airflow[celery,amazon]==${AIRFLOW_VERSION}" -c "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-3.11.txt" \
3230 && uv pip install --no-cache-dir -r requirements.txt -c "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-3.11.txt" \
3331 && uv pip install --no-cache-dir -r requirements-in.txt apache-airflow==${AIRFLOW_VERSION}
You can’t perform that action at this time.
0 commit comments