summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-13 09:22:53 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-13 09:22:53 +0800
commit6c88e730ec762edfcb029043c735185134e18e2d (patch)
treea4bc906f3e096ebba71e795768aef263dd280a43 /docker/Dockerfile
parentfe4e848d562c4dfc6a9d9ff73ad68e79f0c3b5c9 (diff)
Update docker file for catalog
Change-Id: Ifb2054a470b11941ae4d33832b468fd32e76ea39 Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 77de9036..1dc2a485 100755
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -22,7 +22,6 @@ RUN apt-get update && \
apt-get install -y unzip && \
apt-get install -y curl && \
apt-get install -y build-essential && \
-# apt-get install -y libssl-dev && \
apt-get install -y libffi-dev && \
groupadd -r onap && useradd -r -g onap onap && \
chmod u+w /etc/sudoers && \
@@ -35,8 +34,9 @@ WORKDIR /service
# get binary zip from nexus - vfc-nfvo-catalog
RUN wget -q -O vfc-nfvo-catalog.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.catalog&a=vfc-nfvo-catalog&v=LATEST&e=zip' && \
unzip vfc-nfvo-catalog.zip && \
- rm -rf vfc-nfvo-catalog.zip && \
- chown onap:onap -R /service /var/log
+ rm -rf vfc-nfvo-catalog.zip
+
+RUN chown onap:onap -R /service /var/log
WORKDIR /service/vfc/nfvo/catalog
RUN pip install --upgrade setuptools pip && \