summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: fe1ff808a0f2a66cb0de37c536f67c212d35be8d (plain) @media only all and (prefers-color-scheme: dark) { .highlight .hll { background-color: #49483e } .highlight .c { color: #75715e } /* Comment */ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */ .highlight .k { color: #66d9ef } /* Keyword */ .highlight .l { color: #ae81ff } /* Literal */ .highlight .n { color: #f8f8f2 } /* Name */ .highlight .o { color: #f92672 } /* Operator */ .highlight .p { color: #f8f8f2 } /* Punctuation */ .highlight .ch { color: #75715e } /* Comment.Hashbang */ .highlight .cm { color: #75715e } /* Comment.Multiline */ .highlight .cp { color: #75715e } /* Comment.Preproc */ .highlight .cpf { color: #75715e } /* Comment.PreprocFile */ .highlight .c1 { color: #75715e } /* Comment.Single */ .highlight .cs { color: #75715e } /* Comm
FROM ubuntu:14.04

MAINTAINER Julien Zhang <julienjut@gmail.com>
LABEL version="0.1" Description="OPNFVDocs Docker container"

ARG BRANCH=master
ARG build=html
ENV BRANCH=$BRANCH
ENV build=$build

# Dependencies for sphinx, pip and git
RUN apt-get update && apt-get install -y \
    python-pip python-sphinx git

RUN git clone --depth=1 --branch=$BRANCH https://git.opnfv.org/opnfvdocs /opnfvdocs
RUN pip install -r /opnfvdocs/etc/requirements.txt
RUN pip install virtualenv
RUN rm -rf /var/lib/apt-lists/* /root/.cache/pip /opnfvdocs/.git

ADD ./entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh

ENTRYPOINT /sbin/entrypoint.sh