我想在Dockerfile中设置bash环境变量。
我怎么能做到呢?
主机: OS X 10.11.4
嘉宾:ubuntu:最新
Dockerfile:
RUN mkdir ~/gopath_dir
RUN apt-get install ubuntu-make
RUN umake go
# I want to set $GOPATH to ~/gopath_dir发布于 2016-05-15 11:59:06
可以使用ENV语句声明环境变量。
ENV foo=hellohttps://stackoverflow.com/questions/37237963
复制相似问题