Commit cf09dde7 authored by EKbfh's avatar EKbfh 🐼
Browse files

Merge branch 'to-deb-image' into 'master'

Add reqs for deb

See merge request !3
parents 08ac9a41 3a4bd2ed
Pipeline #34053 passed with stage
in 5 seconds
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 \ RUN set -ex \
&& apk add --virtual .build-deps build-base python3-dev libxml2-dev libxslt-dev \ && apt update && apt-get install -y --no-install-recommends \
&& apk add --no-cache git curl python3 libxml2 libxslt\ $BUILD_PACKAGES \
&& python3 -m ensurepip \ libxml2 \
&& pip3 install --upgrade pip \ python3 \
&& curl -LJO https://code.getnoc.com/noc/noc/-/raw/master/requirements.txt \ python3-pip \
&& pip3 install -r requirements.txt \
&& pip3 install \ && pip3 install \
lxml==4.6.2 \ lxml==4.6.2 \
mkdocs-material==7.3.3 \ mkdocs-material==7.3.3 \
mkdocs-macros-plugin==0.6.0 \ mkdocs-macros-plugin==0.6.0 \
mkdocs-mermaid2-plugin==0.5.2 \ mkdocs-mermaid2-plugin==0.5.2 \
mkdocstrings==0.16.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 WORKDIR /docs
VOLUME /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