Update snapshot and/or references of policy/drools-pdp to latest snapshots
[policy/drools-pdp.git] / packages / docker / src / main / docker / Dockerfile
index 755827f..5e12baf 100644 (file)
@@ -19,7 +19,7 @@
 # SPDX-License-Identifier: Apache-2.0
 # ============LICENSE_END=========================================================
 #-------------------------------------------------------------------------------
-FROM onap/policy-jdk-alpine:2.4.3
+FROM onap/policy-jdk-alpine:2.6.2-SNAPSHOT
 
 LABEL maintainer="Policy Team"
 LABEL org.opencontainers.image.title="Policy Drools PDP"
@@ -50,9 +50,11 @@ ENV MVN_SNAPSHOT_REPO_URL $MVN_SNAPSHOT_REPO_URL
 ENV MVN_RELEASE_REPO_URL $MVN_RELEASE_REPO_URL
 ENV http_proxy $http_proxy
 
+USER root
 RUN apk update && \
     apk add --no-cache mariadb-client \
     file \
+    maven \
     net-tools netcat-openbsd sudo less vim openssl \
     && python3 -m pip install --no-cache-dir --upgrade setuptools http-prompt \
     && python3 -m pip install --no-cache-dir httpie