Docker: container proxy
docker build --build-arg CONT_IMG_VER=v2.0.1 .
docker build --build-arg CONT_IMG_VER=v2.0.1 . docker build -t local/ojs:3.2.1-4 --build-arg http_proxy="http://proxy.example.com:8080" --build-arg https_proxy="http://proxy.example.com:8080" containers/ojs-3.2.1-4/
Referências
- https://vsupalov.com/docker-arg-env-variable-guide/#the-dot-env-file-env
- https://docs.docker.com/engine/reference/builder/#arg
Comentários