docker build with --build-arg with multiple arguments

后端 未结 4 1567
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 01:27

According to the documentation, it\'s possible to define multiple args for the flag --build-arg, but I can\'t find out how. I tried the following:

d         


        
4条回答
  •  一生所求
    2021-01-30 01:59

    It's a shame that we need multiple ARG too, it results in multiple layers and slows down the build because of that, and for anyone also wondering that, currently there is no way to set multiple ARGs.

提交回复
热议问题