aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/docker/docker-files
diff options
context:
space:
mode:
authorIkramullah, Ikram (fi241c) <fi241c@att.com>2020-11-05 01:50:41 -0500
committerIkram Ikramullah <ikram@research.att.com>2020-11-05 13:35:42 +0000
commit62bb1f83ba6658184d23bbaa465eb80011de3b2b (patch)
treeab8000203effee1cc0c42551b100e9655b2d570c /deliveries/src/main/docker/docker-files
parent5889d15158f2e9dd22155ab5693a543c4136fee8 (diff)
Fix for VID-8907.0.2
VID was using sed based replacement for the environment variables exposed to its scripts. This was causing many issus with special characters. This has been fixed. Issue-ID: VID-890 Change-Id: I17fb9621bd5b1e6f4b7278df1fd77c617ce9a26d Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
Diffstat (limited to 'deliveries/src/main/docker/docker-files')
-rwxr-xr-xdeliveries/src/main/docker/docker-files/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile
index 1d95efa20..192fcd236 100755
--- a/deliveries/src/main/docker/docker-files/Dockerfile
+++ b/deliveries/src/main/docker/docker-files/Dockerfile
@@ -24,6 +24,9 @@ RUN groupadd -r $group && useradd -ms /bin/bash $user -g $group && \
mkdir /var/log/$user && \
chown -R $user:$group /var/log/$user
+#install procps
+RUN apt-get update && apt-get install -y procps
+
# Kubernetes variables
# set to TRUE (in capital) if on Kubernetes
ENV ON_KUBERNETES="FALSE"
@@ -112,6 +115,6 @@ RUN chown $user:$group /tmp/vid /usr/local/tomcat -R
COPY --chown=$user:$group --from=build /vid /usr/local/tomcat/webapps/vid/
-RUN chmod +x /tmp/vid/localize.sh
+RUN chmod +x /tmp/vid/start.sh
USER $user
-CMD ["/tmp/vid/localize.sh"]
+CMD ["/tmp/vid/start.sh"]