diff options
author | mmis <michael.morris@ericsson.com> | 2018-03-05 18:23:39 +0000 |
---|---|---|
committer | mmis <michael.morris@ericsson.com> | 2018-03-05 18:37:45 +0000 |
commit | 0d85691073de0731e54a12e56b02b6b44807aa58 (patch) | |
tree | cafddbeb94e884d187a3911c7b05716ac8ff842d /policy-nexus/Dockerfile | |
parent | 26ad312c7232b44aa06e61beca114f305bd702d4 (diff) |
Remove policy-os and policy-base images
Remove the policy-os and policy-base images in favour of including their contents directly in the policy-pdp and policy-pe images
Issue-ID: POLICY-624
Change-Id: Ie4ef62d5a7fc0edb481be13891ee12cf9271674c
Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'policy-nexus/Dockerfile')
-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 |