From 0d85691073de0731e54a12e56b02b6b44807aa58 Mon Sep 17 00:00:00 2001 From: mmis Date: Mon, 5 Mar 2018 18:23:39 +0000 Subject: 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 --- policy-nexus/Dockerfile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'policy-nexus/Dockerfile') 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 -- cgit 1.2.3-korg