Automation, DevOps and Containerization
© 2001-2023. All rights reserved.
Image builds often require secrets
Secrets must not be added:
FROM alpine ADD id_rsa /root/.ssh/ RUN scp user@somewhere:/tmp/data . RUN rm /root/.ssh/id_rsa
Credential disclosure:
Solution: Build Secrets in Docker 18.09