potiuk commented on a change in pull request #9129:
URL: https://github.com/apache/airflow/pull/9129#discussion_r435249164



##########
File path: Dockerfile.ci
##########
@@ -340,6 +308,23 @@ RUN if [[ -n "${ADDITIONAL_PYTHON_DEPS}" ]]; then \
         pip install ${ADDITIONAL_PYTHON_DEPS}; \
     fi
 
+RUN \
+    export AWSCLI_IMAGE="amazon/aws-cli:latest" && \
+    export AZURECLI_IMAGE="mcr.microsoft.com/azure-cli:latest" && \
+    export GCLOUD_IMAGE="gcr.io/google.com/cloudsdktool/cloud-sdk:latest" && \
+    echo -e "\
+    alias aws=\"docker run --rm -it -v /root/.aws:/root/.aws ${AWSCLI_IMAGE}\" 
\n\

Review comment:
       Comment from BREEZE.rst
   
   ```
   For each of those CLI you need to provide credentials. You can do it in one 
of the ways:
   
   * You can forward credentials from your host machine when starting breeze 
with
     ``--forward-credentials`` flag added when you start ``Breeze``. Just a 
watch-out - this makes
     your host credentials available inside the image, so use it with care.
   
   * If you do not want to forward credentials, you can use traditional 
authentication methods provided by
     each of the tools (for example ``gcloud auth login``) - the credentials 
are stored in a configuration
     directory specific for each CLI tool until you stop breeze session. You 
will need to re-authenticate
     when you restart ``Breeze``.
   ```




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