From 7456e0162ba843809e3f20901c004d7ce05efcb2 Mon Sep 17 00:00:00 2001 From: groupuser Date: Thu, 26 Mar 2026 06:30:38 +0000 Subject: [PATCH] Upload Dockerfile --- Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a453993 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +FROM apache/airflow:3.1.8-python3.12 + +ARG AIRFLOW_VERSION=3.1.8 + +USER root +RUN apt-get update && \ + apt-get install -y --no-install-recommends git openssl && \ + apt-get upgrade -y openssl && \ + openssl version -a && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + + +COPY cheetah-airflow/${AIRFLOW_VERSION}/requirements.txt /opt/setup/requirements.txt +RUN chown -R airflow:root /opt/setup + + +USER airflow +WORKDIR /opt/setup +RUN pip install --no-cache-dir -r /opt/setup/requirements.txt + +COPY --chown=airflow:root cheetah-airflow/${AIRFLOW_VERSION}/plugins /opt/airflow/plugins + +RUN echo "Cheetah Airflow custom image build complete (Airflow ${AIRFLOW_VERSION})"