summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-08-07 15:55:18 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-08-07 15:58:01 +0800
commit064db2858005b9691a569dbf554006f48b3883fb (patch)
treef8c5aaeb8daaff51facebf8a3b9e00e13d18a265 /docker/Dockerfile
parent2bf65961cb0084e53cc5efd57cdfa706a9743b8d (diff)
Remove DB and redis service from nslcm
Change-Id: Iebc919306d93cfac848a03fee2aff23c0b287601 Issue-ID: VFC-977 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 72a366e5..2334995f 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-lcm.zip 'https://nexus.onap.org/service/local/artifact/m
unzip vfc-nfvo-lcm.zip && \
rm -rf vfc-nfvo-lcm.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/lcm
RUN pip install --pre -r requirements.txt
EXPOSE 8403
-EXPOSE 3306
-EXPOSE 6379
WORKDIR /service
ENTRYPOINT vfc/nfvo/lcm/docker/docker-entrypoint.sh