diff options
Diffstat (limited to 'policy-nexus')
-rw-r--r-- | policy-nexus/Dockerfile | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/policy-nexus/Dockerfile b/policy-nexus/Dockerfile index ab3e345f..936c4969 100644 --- a/policy-nexus/Dockerfile +++ b/policy-nexus/Dockerfile @@ -1,5 +1,24 @@ -FROM onap/policy/policy-os +FROM ubuntu:14.04 +ARG HTTP_PROXY=${HTTP_PROXY} +ARG HTTPS_PROXY=${HTTPS_PROXY} + +ENV http_proxy $HTTP_PROXY +ENV https_proxy $HTTPS_PROXY + +RUN \ + apt-get clean && \ + apt-get update && \ + apt-get install -y zip unzip curl wget ssh telnet maven && \ + apt-get install -y software-properties-common && \ + apt-get install -y jq httpie && \ + apt-get install -y python-pip && \ + add-apt-repository ppa:openjdk-r/ppa && \ + apt-get clean && \ + apt-get update && \ + apt-get install -y openjdk-8-jdk + +RUN useradd --create-home --shell /bin/bash policy # note that in following command sequence, wget exit status is 1 even on success, # so can't use && for conditional execution of next command |