aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main/docker/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/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/Dockerfile')
-rw-r--r--packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile b/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile
index 02f6418f..9e73faa9 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile
@@ -2,7 +2,7 @@
# Dockerfile
# ============LICENSE_START=======================================================
# Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
-# Modifications Copyright (C) 2022-2023 Nordix Foundation.
+# Modifications 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.
@@ -44,8 +44,6 @@ ENV POLICY_LOGS=$POLICY_LOGS
ENV POLICY_HOME=$POLICY_HOME/pdpx
USER root
RUN apk update && \
- apk add mariadb-client && \
- apk add postgresql-client && \
mkdir -p $POLICY_HOME $POLICY_LOGS && \
chown -R policy:policy $POLICY_HOME $POLICY_LOGS
@@ -53,7 +51,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