Category «IT Pros»

Azure DevOps: Dockerfiles with multiline environment variables, private repos, and ssh keys

My previous blog post, How to access private Azure DevOps repos from a Dockerfile! was a big hit in the DevOps and container communities, however, there was one area I discovered that could use further improvement. How does one preserve the multiline formatting when passing the multiline contents of the ssh private key through an environment variable? …