mik-laj commented on a change in pull request #21522:
URL: https://github.com/apache/airflow/pull/21522#discussion_r804975863



##########
File path: Dockerfile
##########
@@ -348,20 +352,22 @@ SHELL ["/bin/bash", "-o", "pipefail", "-o", "errexit", 
"-o", "nounset", "-o", "n
 ARG AIRFLOW_UID
 
 LABEL org.apache.airflow.distro="debian" \
-  org.apache.airflow.distro.version="buster" \
+  org.apache.airflow.distro.version="${DEBIAN_VERSION}" \
   org.apache.airflow.module="airflow" \
   org.apache.airflow.component="airflow" \
   org.apache.airflow.image="airflow" \
   org.apache.airflow.uid="${AIRFLOW_UID}"
 
+ARG DEBIAN_VERSION
 ARG PYTHON_BASE_IMAGE
 ARG AIRFLOW_PIP_VERSION
 
 ENV PYTHON_BASE_IMAGE=${PYTHON_BASE_IMAGE} \
     # Make sure noninteractive debian install is used and language variables 
set
     DEBIAN_FRONTEND=noninteractive LANGUAGE=C.UTF-8 LANG=C.UTF-8 
LC_ALL=C.UTF-8 \
     LC_CTYPE=C.UTF-8 LC_MESSAGES=C.UTF-8 \
-    AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION}
+    AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \
+    DEBIAN_VERSION=${DEBIAN_VERSION}

Review comment:
       ```suggestion
       AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION}
   ```
   Not needed anymore




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to