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

Add reqs for deb

parent 08ac9a41
Pipeline #34043 failed with stage
in 30 seconds
FROM alpine:latest
FROM debian:11-slim
ARG BUILD_PACKAGES="build-essential cmake gcc libffi-dev libmemcached-dev libssl-dev zlib1g-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\
&& apt update && apt-get install -y --no-install-recommends \
$BUILD_PACKAGES \
curl \
libxml2 \
libxslt \
&& python3 -m ensurepip \
&& pip3 install --upgrade pip \
&& curl -LJO https://code.getnoc.com/noc/noc/-/raw/master/requirements.txt \
......@@ -13,7 +18,11 @@ RUN set -ex \
mkdocs-macros-plugin==0.6.0 \
mkdocs-mermaid2-plugin==0.5.2 \
mkdocstrings==0.16.2 \
&& apk del .build-deps
&& apt remove --purge -y $BUILD_PACKAGES \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
libxml2 libxslt\
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