wittfabian opened a new issue #9003:
URL: https://github.com/apache/airflow/issues/9003


   **Apache Airflow version**: 1.10.10
   
   **Environment**:
   
   - **OS**: Windows 10 / Docker Desktop
   
   **What happened**:
   According to the documentation it should be possible to build the image with 
the following command:
   
   ```
   docker build . \
     --build-arg PYTHON_BASE_IMAGE="python:3.7-slim-buster" \
     --build-arg PYTHON_MAJOR_MINOR_VERSION=3.7 \
     --build-arg AIRFLOW_INSTALL_SOURCES="apache-airflow" \
     --build-arg AIRFLOW_INSTALL_VERSION="==1.10.10" \
     --build-arg 
CONSTRAINT_REQUIREMENTS="https://raw.githubusercontent.com/apache/airflow/1.10.10/requirements/requirements-python3.7.txt";
 \
     --build-arg 
ENTRYPOINT_FILE="https://raw.githubusercontent.com/apache/airflow/1.10.10/entrypoint.sh";
 \
     --build-arg AIRFLOW_SOURCES_FROM="entrypoint.sh" \
     --build-arg AIRFLOW_SOURCES_TO="/entrypoint"
   ```
   
   **_Docker build failed with:_**
   
   ```
   Step 32/90 : COPY ${AIRFLOW_SOURCES_FROM} ${AIRFLOW_SOURCES_TO}
   COPY failed: stat /var/lib/docker/tmp/docker-builder025357303/entrypoint.sh: 
no such file or directory
   ```
   
   Before step 32 the required file "entrypoint.sh" is not provided/added.
   
   **What you expected to happen**:
   Successful build.
   
   
   **How to reproduce it**:
   Run the build command.
   


----------------------------------------------------------------
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.

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


Reply via email to