[AIRFLOW-5534] Less verobosity and removal of context container

This commit is contained in:
Jarek Potiuk 2019-09-22 18:42:58 +01:00 коммит произвёл Jarek Potiuk
Родитель 4ed2c222c8
Коммит 0ccb9256d7
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -463,8 +463,8 @@ if [[ "${AIRFLOW_FIX_PERMISSIONS}" == "all" || "${AIRFLOW_FIX_PERMISSIONS}" ==
if [[ "${AIRFLOW_FIX_PERMISSIONS}" == "all" ]]; then
# Get all files in the context - by building a small alpine based image
# then COPY all files (.) from the context and listing the files via find method
docker build -t airflow-context . -f Dockerfile-context
ALL_FILES_TO_FIX=$(docker run airflow-context /bin/sh -c "(cd /context && find .)")
docker build -t airflow-context . -f Dockerfile-context >/dev/null
ALL_FILES_TO_FIX=$(docker run --rm airflow-context /bin/sh -c "(cd /context && find .)")
elif [[ "${AIRFLOW_FIX_PERMISSIONS}" == "setup" ]]; then
ALL_FILES_TO_FIX="\
${AIRFLOW_SOURCES}/setup.py \