AWS credentials in Dockerfile
问题 I require files to be downloaded from AWS S3 during container build, however I've been unsuccessful to provide the AWS credentials to the build process without actually hardcoding them in the Dockerfile. I get the error: docker fatal error: Unable to locate credentials despite previously having executed: aws configure Moreover, I was not able to use --build-arg for this purpose. My question: is it possible to have these credentials in build time without hardcoding them in the Dockerfile and