furquan39 opened a new issue, #36229:
URL: https://github.com/apache/airflow/issues/36229

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.4.1
   
   ### What happened?
   
   When attempting to rebuild an apache airflow image, we are getting failures 
during our builds when trying to run apt-get update.
   
   The error we see:
   
![image](https://github.com/apache/airflow/assets/37553943/c1c87c61-c60f-41d2-828d-3ba8734bde99)
   
   
   ### What you think should happen instead?
   
   The airflow image should build successfully without any errors.
   
   ### How to reproduce
   
   Create a Dockerfile. Add the following lines to the Dockerfile:
   
   `FROM apache/airflow:2.4.1-python3.8
   
   # Needed for Azure Web App SSH
   ENV SSH_PASSWD "root:Docker!"
   
   # use a fixed databricks provider version, as airflow is fixed as well
   RUN pip3 install msal Authlib flask_oauthlib azure-storage-file-datalake 
apache-airflow-providers-databricks==3.1.0
   
   USER root
   
   RUN apt-get update \
       && apt-get install -y --no-install-recommends \
       openssh-server \
       && apt-get autoremove -yqq --purge \
       && apt-get clean \
       && rm -rf /var/lib/apt/lists/*`
   
   ### Operating System
   
   Debian 11
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   Seems like a similar issue to this: 
https://github.com/apache/airflow/issues/20911
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to