From e8f94a379ee5ff73823bb63209d4f3f5e410828b Mon Sep 17 00:00:00 2001 From: sebdet Date: Mon, 10 May 2021 10:30:45 +0200 Subject: Add envSubst Add envsubst for OOM changes Issue-ID: POLICY-3224 Signed-off-by: sebdet Change-Id: I3f0900c43ab34a985b0e1b0cf02647b0d7ad3ff3 --- src/main/docker/backend/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/docker/backend') 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/ -- cgit 1.2.3-korg