Echo multi string command to file in Dockerfile

RUN echo " \n\
[moti] \n\
aws_access_key_id = $AWS_ACCESS_KEY_ID \n\
aws_secret_access_key = $AWS_SECRET_ACCESS_KEY \n\
" >> ~/.aws/credentials;

Leave a Reply

Your email address will not be published.