diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-08 16:00:50 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-08 16:00:50 +0800 |
commit | 3b75ae19a25647785c81c02129bf12e0ed54e043 (patch) | |
tree | c9787d8d0437d35a20b1a5c12aba81c0c80530b9 /res/docker/Dockerfile | |
parent | 278369e5fa6a7585df69af444c518503aa603740 (diff) |
Remove DB and redis service from vnfres
Change-Id: If3b274d442bdde62a225c5fe02116af4f38a0509
Issue-ID: VFC-980
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'res/docker/Dockerfile')
-rw-r--r-- | res/docker/Dockerfile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/res/docker/Dockerfile b/res/docker/Dockerfile index b3c3a25..d81d196 100644 --- a/res/docker/Dockerfile +++ b/res/docker/Dockerfile @@ -9,9 +9,6 @@ ENV https_proxy $HTTPS_PROXY RUN sed -i "s|set compatible|set nocompatible|" /etc/vim/vimrc.tiny RUN echo "set backspace=2" >> /etc/vim/vimrc.tiny -RUN echo "mysql-server mysql-server/root_password password root" | debconf-set-selections -RUN echo "mysql-server mysql-server/root_password_again password root" | debconf-set-selections - RUN apt-get update && \ apt-get install -y python-virtualenv && \ apt-get install -y python-setuptools && \ @@ -19,8 +16,6 @@ RUN apt-get update && \ apt-get install -y python-pip && \ apt-get install -y gcc && \ apt-get install -y libmysqlclient-dev && \ - apt-get install -y redis-server && \ - apt-get install -y mysql-server && \ apt-get install -y mysql-client && \ apt-get install -y wget && \ apt-get install -y unzip && \ @@ -37,16 +32,10 @@ RUN wget -q -O vfc-gvnfm-vnfres.zip 'https://nexus.onap.org/service/local/artifa unzip vfc-gvnfm-vnfres.zip && \ rm -rf vfc-gvnfm-vnfres.zip -RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/mysql/my.cnf - -VOLUME /var/lib/mysql - WORKDIR /service/vfc/gvnfm/vnfres/res RUN pip install -r requirements.txt EXPOSE 8802 -EXPOSE 3306 -EXPOSE 6379 WORKDIR /service ENTRYPOINT vfc/gvnfm/vnfres/res/docker/docker-entrypoint.sh |