safe way to use build-time argument in Docker

后端 未结 3 1135
隐瞒了意图╮
隐瞒了意图╮ 2020-12-18 04:38

I have a build time Argument with which I would like to build my Docker file; Since that argument is confidential in nature (github key of a private repo) I don\'t want that

3条回答
  •  悲&欢浪女
    2020-12-18 05:05

    This is the point of docker secret

    see for example

    https://blog.docker.com/2017/02/docker-secrets-management/

提交回复
热议问题