diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-09-11 11:25:12 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-09-11 11:25:12 +0800 |
commit | f2c5615c967a37c3d778bb9cf0a5a6706c17fa63 (patch) | |
tree | 7d53fb68706b513b2eb189c0e86179f5fbf32194 /newton/docker/Dockerfile | |
parent | 9be6dfbd7c81d017865a5eccacdcedb184ef6e50 (diff) |
Fix bugs in restcall
fix bug and update dockerfile
Change-Id: I5e6e2eeae85d9bfaabd190d8f9baaca8cca7aeb5
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'newton/docker/Dockerfile')
-rw-r--r-- | newton/docker/Dockerfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/newton/docker/Dockerfile b/newton/docker/Dockerfile index e8440e1c..51379089 100644 --- a/newton/docker/Dockerfile +++ b/newton/docker/Dockerfile @@ -1,5 +1,11 @@ FROM python:2 +ARG HTTP_PROXY=${HTTP_PROXY} +ARG HTTPS_PROXY=${HTTPS_PROXY} + +ENV http_proxy $HTTP_PROXY +ENV https_proxy $HTTPS_PROXY + ENV MSB_ADDR "127.0.0.1" ENV MSB_PORT "80" ENV AAI_ADDR "aai.api.simpledemo.openecomp.org" @@ -21,4 +27,4 @@ RUN apt-get update && \ pip install -r /opt/newton/requirements.txt WORKDIR /opt/newton -CMD /bin/sh -c /opt/newton/run.sh
\ No newline at end of file +CMD /bin/sh -c /opt/newton/run.sh |