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



##########
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:
       Yes you are perfectly right, good catch. 
   
   I just found out that I actually had /root/.config from earlier 
authorization apparently on the host. I will update it slightly to forward the 
HOST_HOME or similar and mount it from there. 




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