From f2580f8d27468047c199f921728548e815a89d94 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Sat, 2 Sep 2017 10:20:09 +0800 Subject: Fix docker file of vfc-gvnfm-vnflcm Change-Id: I10f06209ed3a52e394d7088849dcf4754d674f4c Issue-Id: VFC-236 Signed-off-by: fujinhua --- lcm/docker/Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'lcm/docker/Dockerfile') diff --git a/lcm/docker/Dockerfile b/lcm/docker/Dockerfile index 5b847db3..7b236981 100755 --- a/lcm/docker/Dockerfile +++ b/lcm/docker/Dockerfile @@ -2,29 +2,30 @@ FROM ubuntu:14.04 ARG HTTP_PROXY=${HTTP_PROXY} ARG HTTPS_PROXY=${HTTPS_PROXY} -ARG MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} ENV http_proxy $HTTP_PROXY ENV https_proxy $HTTPS_PROXY -ENV MYSQL_ROOT_PASSWORD $MYSQL_ROOT_PASSWORD + +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-devel && \ apt-get install -y python-virtualenv && \ apt-get install -y python-setuptools && \ apt-get install -y python-dev && \ apt-get install -y python-pip && \ - apt-get install -y openssl-devel && \ - apt-get install -y mysql-devel && \ apt-get install -y gcc && \ - apt-get install -y libffi-devel && \ - apt-get install -y redis && \ 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 + 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 && \ + yes | pip install cryptography ADD . /service WORKDIR /service @@ -43,6 +44,7 @@ RUN wget -q -O vfc-gvnfm-vnfres-res.zip 'https://nexus.onap.org/service/local/ar EXPOSE 8801 EXPOSE 3306 +EXPOSE 6379 WORKDIR /service ENTRYPOINT vfc/gvnfm/vnflcm/lcm/docker/docker-entrypoint.sh -- cgit 1.2.3-korg