You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/11 12:31:35 UTC

[GitHub] [airflow] thesuperzapper commented on pull request #8579: Bash command for production image

thesuperzapper commented on pull request #8579:
URL: https://github.com/apache/airflow/pull/8579#issuecomment-626672291


   @potiuk, could we amend this slightly, and include `"${@:2}"`, so that parameters can be passed to the bash command? Otherwise users can't inject scripts into the startup.
   
   ```bash
   if [[ ${AIRFLOW_COMMAND} == "bash" ]]; then
      exec "/bin/bash" "${@:2}"
   fi
   ```


----------------------------------------------------------------
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:
users@infra.apache.org