summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorERIMROB <robertas.rimkus@est.tech>2020-06-08 16:35:39 +0100
committerERIMROB <robertas.rimkus@est.tech>2020-06-12 08:53:03 +0100
commita878f684dc8f906e0800dc1598e5214f8da2ba33 (patch)
tree1efb33a8935e49785f01216c7336fecc556287bd /components
parent2760519436f78975f16f26c412e842e34b28d624 (diff)
[PMSH] Adding vim-tiny as a text editor
Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Change-Id: Ic596e9606add42d065a0ef299c2519f72883021f Issue-ID: DCAEGEN2-2155
Diffstat (limited to 'components')
-rw-r--r--components/pm-subscription-handler/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/pm-subscription-handler/Dockerfile b/components/pm-subscription-handler/Dockerfile
index 270b97a6..566b2ab9 100644
--- a/components/pm-subscription-handler/Dockerfile
+++ b/components/pm-subscription-handler/Dockerfile
@@ -33,6 +33,9 @@ WORKDIR $APPDIR
# add non root user & group
RUN addgroup --system $PMSHUSER && adduser --ingroup $PMSHUSER --system $PMSHUSER && \
# create and chown the LOGS_PATH
+ apt-get update && \
+ apt-get install -y --no-install-recommends vim-tiny && \
+ apt-get clean && rm -rf /var/lib/apt/lists/* && \
mkdir -p $LOGS_PATH && \
chown -R $PMSHUSER:$PMSHUSER $LOGS_PATH