-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Closed
Labels
Description
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"
(https://github.com/apache/airflow/blob/v1-10-stable/IMAGES.rst#production-images)
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.