summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-08-08 14:03:17 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-08-08 14:11:14 +0800
commit35b5bb6b423691ed1819732bae4e41864112810e (patch)
tree452fde436a5688e77c802f4bcc469bfd6e034539 /docker/Dockerfile
parent007bfac568467b36154cb9cf43f83b38ad0e17d2 (diff)
Remove DB and redis service from catalog
Change-Id: I55361edccd5464702e828975694017b27a4f4f79 Issue-ID: VFC-978 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile11
1 files changed, 0 insertions, 11 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7cf3008e..2c0359cd 100755
--- a/docker/Dockerfile
+++ b/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-nfvo-catalog.zip 'https://nexus.onap.org/service/local/artifa
unzip vfc-nfvo-catalog.zip && \
rm -rf vfc-nfvo-catalog.zip
-RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/mysql/my.cnf
-
-VOLUME /var/lib/mysql
-
WORKDIR /service/vfc/nfvo/catalog
RUN pip install --pre -r requirements.txt
EXPOSE 8806
-EXPOSE 3306
-EXPOSE 6379
WORKDIR /service
ENTRYPOINT vfc/nfvo/catalog/docker/docker-entrypoint.sh