diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-02 10:20:09 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-02 10:20:09 +0800 |
commit | f2580f8d27468047c199f921728548e815a89d94 (patch) | |
tree | f6cd3fe0679a57251eb21a9e9ee98d41af095e5f /lcm/docker/Dockerfile | |
parent | a4e6240ba6dfa31d6bcc632b844045e53078b099 (diff) |
Fix docker file of vfc-gvnfm-vnflcm
Change-Id: I10f06209ed3a52e394d7088849dcf4754d674f4c
Issue-Id: VFC-236
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/docker/Dockerfile')
-rwxr-xr-x | lcm/docker/Dockerfile | 18 |
1 files changed, 10 insertions, 8 deletions
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 |