Ich möchte Bash-Umgebungsvariable in Dockerfile setzen.
Wie kann ich es tun?Wie kann ich die Umgebungsvariable .bash_profile in Dockerfile einstellen?
Host: OS X 10.11.4
Gast: ubuntu: neueste
Dockerfile:
RUN mkdir ~/gopath_dir
RUN apt-get install ubuntu-make
RUN umake go
# I want to set $GOPATH to ~/gopath_dir
Sie es wissen sind offizielle Golangbilder? https://hub.docker.com/_/golang/ –