Dockerfile 650 Bytes
Newer Older
EKbfh's avatar
EKbfh committed
1
2
FROM debian:11-slim

EKbfh's avatar
EKbfh committed
3
4
5
ENV\
    PROJ_DIR=/usr

EKbfh's avatar
EKbfh committed
6
ARG BUILD_PACKAGES="build-essential cmake gcc libffi-dev libmemcached-dev libssl-dev zlib1g-dev libpq-dev"
7
8

RUN set -ex \
EKbfh's avatar
EKbfh committed
9
10
11
    && apt update && apt-get install -y --no-install-recommends \
    $BUILD_PACKAGES \
    libxml2 \
EKbfh's avatar
Add py3    
EKbfh committed
12
    python3 \
EKbfh's avatar
EKbfh committed
13
    python3-pip \
EKbfh's avatar
EKbfh committed
14
15
16
17
18
19
    && 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 \
EKbfh's avatar
EKbfh committed
20
21
22
    cachetools \
    atomicl \
    orjson \
EKbfh's avatar
EKbfh committed
23
24
25
26
    && apt remove --purge -y $BUILD_PACKAGES \
    && apt autoremove -y \
    && rm -rf /var/lib/apt/lists/* \

27
28
WORKDIR /docs
VOLUME /docs