Commit 3a4bd2ed authored by EKbfh's avatar EKbfh 🐼
Browse files

Add reqs for deb

parent 08ac9a41
FROM alpine:latest
FROM debian:11-slim
ARG BUILD_PACKAGES="build-essential cmake gcc libffi-dev libmemcached-dev libssl-dev zlib1g-dev libpq-dev python3-dev"
RUN set -ex \
&& apk add --virtual .build-deps build-base python3-dev libxml2-dev libxslt-dev \
&& apk add --no-cache git curl python3 libxml2 libxslt\
&& python3 -m ensurepip \
&& pip3 install --upgrade pip \
&& curl -LJO https://code.getnoc.com/noc/noc/-/raw/master/requirements.txt \
&& pip3 install -r requirements.txt \
&& apt update && apt-get install -y --no-install-recommends \
$BUILD_PACKAGES \
libxml2 \
python3 \
python3-pip \
&& 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 \
&& apk del .build-deps
cachetools \
atomicl \
orjson \
http_parser \
&& apt remove --purge -y $BUILD_PACKAGES \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
WORKDIR /docs
VOLUME /docs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment