Dockerfile 590 Bytes
Newer Older
1
2
3
FROM alpine:latest

RUN set -ex \
Dmitry Volodin's avatar
Dmitry Volodin committed
4
    && apk add --virtual .build-deps build-base python3-dev libxml2-dev libxslt-dev \
EKbfh's avatar
EKbfh committed
5
    && apk add --no-cache git curl python3 libxml2 libxslt\
6
    && python3 -m ensurepip \
Dmitry Volodin's avatar
Dmitry Volodin committed
7
    && pip3 install --upgrade pip \
EKbfh's avatar
EKbfh committed
8
9
    && curl -LJO https://code.getnoc.com/noc/noc/-/raw/master/requirements.txt \
    && pip3 install -r requirements.txt \
EKbfh's avatar
EKbfh committed
10
11
12
13
14
15
    && pip3 install \
    lxml==4.6.2 \
    mkdocs-material==7.3.3 \
    mkdocs-macros-plugin==0.6.0 \
    mkdocs-mermaid2-plugin==0.5.2 \
    mkdocstrings==0.16.2 \
Dmitry Volodin's avatar
Dmitry Volodin committed
16
    && apk del .build-deps
17
18
19

WORKDIR /docs
VOLUME /docs