summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-05-10 10:30:45 +0200
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-05-10 09:04:01 +0000
commite8f94a379ee5ff73823bb63209d4f3f5e410828b (patch)
treed74c5a85ca595c10e9632dcdc2643236c0cc204a /src
parent44fac5a66971a6013c429537ab2b509d1a1a8a91 (diff)
Add envSubst
Add envsubst for OOM changes Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3f0900c43ab34a985b0e1b0cf02647b0d7ad3ff3
Diffstat (limited to 'src')
-rw-r--r--src/main/docker/backend/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/docker/backend/Dockerfile b/src/main/docker/backend/Dockerfile
index 70eb193fe..7b6687b9e 100644
--- a/src/main/docker/backend/Dockerfile
+++ b/src/main/docker/backend/Dockerfile
@@ -41,6 +41,11 @@ RUN mkdir -p /opt/policy/clamp && \
VOLUME /opt/policy/clamp/config
COPY --chown=onap:onap onap-policy-clamp-backend/policy-clamp-backend.jar /opt/policy/clamp/policy-clamp-backend.jar
+RUN set -x && \
+ apk add --update libintl && \
+ apk add --virtual build_deps gettext && \
+ cp /usr/bin/envsubst /usr/local/bin/envsubst && \
+ apk del build_deps
USER onap
WORKDIR /opt/policy/clamp/