aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-08-15 11:13:27 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-08-19 09:26:54 +0100
commit51a289c505be84d6e61c6f65aeba4cea2c3597d8 (patch)
tree0697569532a0e465c9974e3449c15f730bdd042b /packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile
parenta481cea2601e8aacf202b785eb743c243ea22fc3 (diff)
Move database management to db-migrator
- as part of adding postgresql support for drools, database management had to be moved due drools and xacml sharing operationshistory table. Issue-ID: POLICY-5107 Change-Id: Idd8f7ca38c8a13602c3bf85b7d600cd1c817f342 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile')
-rw-r--r--packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile b/packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile
index c8732ca8..22539a36 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/suse.Dockerfile
@@ -1,7 +1,7 @@
#-------------------------------------------------------------------------------
# Dockerfile
# ============LICENSE_START=======================================================
-# Copyright (C) 2022 Nordix Foundation.
+# Copyright (C) 2022, 2024 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ ENV POLICY_HOME=/opt/app/policy/pdpx
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
ENV JAVA_HOME=/usr/lib64/jvm/java-11-openjdk-11
-RUN zypper -n -q install --no-recommends java-11-openjdk-headless mariadb-client netcat-openbsd postgresql && \
+RUN zypper -n -q install --no-recommends java-11-openjdk-headless netcat-openbsd && \
zypper -n -q update && zypper -n -q clean --all && \
groupadd --system policy && \
useradd --system --shell /bin/sh -G policy policy && \
@@ -54,7 +54,6 @@ COPY --chown=policy:policy --from=tarball /extracted $POLICY_HOME
WORKDIR $POLICY_HOME
COPY --chown=policy:policy policy-pdpx.sh bin/
-COPY --chown=policy:policy policy-pdpx-pg.sh bin/
RUN chmod 755 bin/*.sh
USER policy