diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2019-10-16 17:12:06 +0200 |
---|---|---|
committer | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2019-10-16 17:36:19 +0200 |
commit | 05c7001b93ab3252931ff3a59384c792902810d9 (patch) | |
tree | cd93b68297979c85408891fbc669084e8349e35c /sources/hv-collector-main | |
parent | 788bc023262b81e2d3a33d26ada1c5a8e3aab25a (diff) |
Move certificates directory creation to dockerfile
Issue-ID: DCAEGEN2-1783
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: If4d9c0dab255ce4f2024f06da40c724dd98d7e5f
Diffstat (limited to 'sources/hv-collector-main')
-rw-r--r-- | sources/hv-collector-main/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/hv-collector-main/Dockerfile b/sources/hv-collector-main/Dockerfile index 36ada936..178045ce 100644 --- a/sources/hv-collector-main/Dockerfile +++ b/sources/hv-collector-main/Dockerfile @@ -16,6 +16,8 @@ WORKDIR /opt/ves-hv-collector RUN useradd --user-group --uid ${HV_VES_USER_ID_NUMBER} ${HV_VES_USER} +RUN mkdir -p /etc/ves-hv/ssl && chown -R ${HV_VES_USER} /etc/ves-hv/ssl + USER ${HV_VES_USER} ENTRYPOINT ["./entry.sh"] |