diff options
author | Arun Arora <aroraarun@vmware.com> | 2017-09-26 21:57:03 +0530 |
---|---|---|
committer | Arun Arora <aroraarun@vmware.com> | 2017-10-16 17:12:45 +0530 |
commit | e4a8fb1d9a9106a03cf2c30b8165966567339a11 (patch) | |
tree | 272ccfda5393e797705795ade21bda1d9aafde77 /vesagent/docker/Dockerfile | |
parent | 3406b48e1526dd7723f534d8d36ad183b01cbd06 (diff) |
VMWare vesagent for FCAPS
Fix python verify job fail issue
Change-Id: If4b7f82fe7175a4d018cd5c5232217e98824c0bd
Issue-ID: MULTICLOUD-8
Signed-off-by: Arun Arora <aroraarun@vmware.com>
Diffstat (limited to 'vesagent/docker/Dockerfile')
-rw-r--r-- | vesagent/docker/Dockerfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vesagent/docker/Dockerfile b/vesagent/docker/Dockerfile new file mode 100644 index 0000000..3b5b8e4 --- /dev/null +++ b/vesagent/docker/Dockerfile @@ -0,0 +1,26 @@ +# Use an official Python runtime as a parent image +FROM python:2.7.14 + +# Make port <Port Num> available to the world outside this container +#EXPOSE <Port Num> + +RUN echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list && \ + apt-get update && \ + apt-get install -y vim && \ + apt-get install -y zip && \ + apt-get install -y unzip && \ + apt-get install -y curl && \ + apt-get install -y wget && \ + apt-get install -y -t jessie-backports openjdk-8-jre-headless ca-certificates-java + +# Set the working directory to /opt +WORKDIR /opt + +# Copy the local opt directory contents into the container at /opt +ADD opt /opt + +# Install any needed packages specified in requirements.txt +RUN pip install -r requirements.txt + +# Run application when the container launches +CMD [ "/opt/start-manager.sh" ] |