summaryrefslogtreecommitdiffstats
path: root/res/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'res/docker/Dockerfile')
-rw-r--r--res/docker/Dockerfile11
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