diff options
Diffstat (limited to 'dbc-client')
-rw-r--r-- | dbc-client/misc/dbc-client | 1 | ||||
-rw-r--r-- | dbc-client/pom.xml | 2 | ||||
-rw-r--r-- | dbc-client/src/main/resources/Dockerfile | 6 | ||||
-rw-r--r-- | dbc-client/version.properties | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/dbc-client/misc/dbc-client b/dbc-client/misc/dbc-client index 1e839ec..c29ec86 100644 --- a/dbc-client/misc/dbc-client +++ b/dbc-client/misc/dbc-client @@ -25,7 +25,6 @@ umask 0022 TZ=GMT0 COMPONENT=dbc-client APP_ROOT=${APP_ROOT:-/opt/app/$COMPONENT} -USER=root export TZ PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin export PATH diff --git a/dbc-client/pom.xml b/dbc-client/pom.xml index 83c1d05..384d6a8 100644 --- a/dbc-client/pom.xml +++ b/dbc-client/pom.xml @@ -270,7 +270,7 @@ <jettyVersion>9.4.12.RC2</jettyVersion> <eelf.version>1.0.0</eelf.version> <swagger.version>1.5.19</swagger.version> - <artifact.version>1.0.6</artifact.version> + <artifact.version>1.0.7</artifact.version> <!-- SONAR --> <jacoco.version>0.7.7.201606060606</jacoco.version> <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> diff --git a/dbc-client/src/main/resources/Dockerfile b/dbc-client/src/main/resources/Dockerfile index 9baa481..85f9426 100644 --- a/dbc-client/src/main/resources/Dockerfile +++ b/dbc-client/src/main/resources/Dockerfile @@ -46,4 +46,10 @@ RUN chmod +x /opt/app/dbc-client/bin/* && \ VOLUME /opt/app/dbc-client/log +RUN addgroup -S -g 1001 onap \ + && adduser -S -u 1000 dbc -G onap \ + && chown -R dbc:onap /opt/ + +USER dbc + ENTRYPOINT ["sh", "./bin/dbc-client" ] diff --git a/dbc-client/version.properties b/dbc-client/version.properties index dadd8a9..0607bbf 100644 --- a/dbc-client/version.properties +++ b/dbc-client/version.properties @@ -27,7 +27,7 @@ major=1 minor=0 -patch=6 +patch=7 base_version=${major}.${minor}.${patch} # Release must be completed with git revision # in Jenkins |