Overriding an environment variable that is referenced in another environment in my Dockerfile

前端 未结 0 907
小鲜肉
小鲜肉 2021-01-06 00:38

So I have a dockerfile that sets some environment variables like so

FROM alpine

ENV FOO=test1
ENV BAR=$FOO

ENTRYPOINT ["sh", "-c", "         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题