summaryrefslogtreecommitdiffstats
path: root/lcm/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/docker/Dockerfile')
-rwxr-xr-xlcm/docker/Dockerfile18
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