This commit is contained in:
jukov_mn 2024-01-24 16:27:06 +05:00
parent c9229472f6
commit 18f1a3597e
1 changed files with 15 additions and 17 deletions

View File

@ -13,25 +13,23 @@ ENV MKDOCS_VERSION=1.1.0 \
ADD docker/container-files/ / ADD docker/container-files/ /
ADD mkdocs/requirements.txt /mkdocs/requirements.txt ADD mkdocs/requirements.txt /mkdocs/requirements.txt
RUN \ RUN apk add --update \
apk add --update \ ca-certificates \
ca-certificates \ bash \
bash \ git \
git \ openssh \
openssh \ python3 \
python3 \ python3-dev \
python3-dev \ py3-setuptools \
py3-setuptools \ py-pip \
py-pip \ build-base \
build-base \ libffi-dev cairo-dev cairo cairo-tools \
libffi-dev cairo-dev cairo cairo-tools \ jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev
jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev RUN pip install --upgrade pip && \
RUN \
pip install --upgrade pip && \
pip install -r /mkdocs/requirements.txt && \ pip install -r /mkdocs/requirements.txt && \
# pip install mkdocs==${MKDOCS_VERSION} && \ # pip install mkdocs==${MKDOCS_VERSION} && \
# pip install mkdocs-material && \ # pip install mkdocs-material && \
# pip install mkdocs-img2fig-plugin && \ # pip install mkdocs-img2fig-plugin && \
cd /bootstrap && pip install -e /bootstrap && \ cd /bootstrap && pip install -e /bootstrap && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \ rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
chmod 600 /root/.ssh/config chmod 600 /root/.ssh/config