Removal of the rememberance of Al
[opnfvdocs.git] / docker / Dockerfile
1 FROM ubuntu:14.04
2
3 MAINTAINER Julien Zhang <julienjut@gmail.com>
4 LABEL version="0.1" Description="OPNFVDocs Docker container"
5
6 ARG BRANCH=master
7 ARG build=html
8 ENV BRANCH=$BRANCH
9 ENV build=$build
10
11 # Dependencies for sphinx, pip and git
12 RUN apt-get update && apt-get install -y \
13     python-pip python-sphinx git
14
15 RUN git clone --depth=1 --branch=$BRANCH https://git.opnfv.org/opnfvdocs /opnfvdocs
16 RUN pip install -r /opnfvdocs/etc/requirements.txt
17 RUN pip install virtualenv
18 RUN rm -rf /var/lib/apt-lists/* /root/.cache/pip /opnfvdocs/.git
19
20 ADD ./entrypoint.sh /sbin/entrypoint.sh
21 RUN chmod 755 /sbin/entrypoint.sh
22
23 ENTRYPOINT /sbin/entrypoint.sh