This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 8a5d3788415cb2f3a5cd8cd5c378d0398d5c0daa Author: jao6693 <[email protected]> AuthorDate: Thu Dec 10 21:00:41 2020 +0100 Update Dockerfile.ci (#12988) Fix permission issue in Azure DevOps when running the script install_mysql.sh, which prevents the build to succeed /bin/bash: ./scripts/docker/install_mysql.sh: Permission denied The command '/bin/bash -o pipefail -e -u -x -c ./scripts/docker/install_mysql.sh dev' returned a non-zero code: 126 ##[error]The command '/bin/bash -o pipefail -e -u -x -c ./scripts/docker/install_mysql.sh dev' returned a non-zero code: 126 ##[error]The process '/usr/bin/docker' failed with exit code 126 (cherry picked from commit d84faa36a02f6a6ae2800e601bda4a20c3188190) --- Dockerfile.ci | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.ci b/Dockerfile.ci index bd00238..32b9383 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -107,7 +107,9 @@ RUN mkdir -pv /usr/share/man/man1 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -COPY scripts/docker scripts/docker +COPY scripts/docker /scripts/docker +# fix permission issue in Azure DevOps when running the script +RUN chmod a+x /scripts/docker/install_mysql.sh RUN ./scripts/docker/install_mysql.sh dev RUN adduser airflow \
