From: ERIMROB Date: Mon, 8 Jun 2020 15:35:39 +0000 (+0100) Subject: [PMSH] Adding vim-tiny as a text editor X-Git-Tag: 1.1.0~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a878f684dc8f906e0800dc1598e5214f8da2ba33;p=dcaegen2%2Fservices.git [PMSH] Adding vim-tiny as a text editor Signed-off-by: ERIMROB Change-Id: Ic596e9606add42d065a0ef299c2519f72883021f Issue-ID: DCAEGEN2-2155 --- 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