aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2021-09-02 10:37:37 +0800
committerdyh <dengyuanhong@chinamobile.com>2021-09-02 10:37:45 +0800
commit65cb52aa19d522a6684f12e3ccd752a24993f38c (patch)
tree0facdc03bbe016da018c73d222be8f3e7bcf44cf /docker
parent87bc0e601f7c14e760d784ecce40a3be665ada6a (diff)
fix the error in Dockerfile1.3.5
Change-Id: I50f7f29ac9ee16fe4243600fa78de56967d8b200 Issue-ID: VFC-1875 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a03ee33..dd62a51 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -9,8 +9,8 @@ ENV https_proxy $HTTPS_PROXY
ADD . /service
WORKDIR /service
-adduser -D onap
-chown onap:onap -R /service
+RUN adduser -D onap \
+ && chown onap:onap -R /service
EXPOSE 6379