ClickHouse/docker/docs/builder/Dockerfile

45 lines
1.3 KiB
Docker
Raw Normal View History

# rebuild in #33610
2022-01-14 08:54:23 +00:00
# docker build -t clickhouse/docs-builder .
2021-10-21 14:16:42 +00:00
FROM ubuntu:20.04
# ARG for quick switch to a given ubuntu mirror
ARG apt_archive="http://archive.ubuntu.com"
RUN sed -i "s|http://archive.ubuntu.com|$apt_archive|g" /etc/apt/sources.list
2021-10-21 14:16:42 +00:00
ENV LANG=C.UTF-8
2021-10-21 14:16:42 +00:00
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
wget \
bash \
python \
curl \
python3-requests \
sudo \
git \
openssl \
python3-pip \
software-properties-common \
language-pack-zh* \
chinese* \
fonts-arphic-ukai \
fonts-arphic-uming \
fonts-ipafont-mincho \
fonts-ipafont-gothic \
fonts-unfonts-core \
xvfb \
nodejs \
npm \
openjdk-11-jdk \
2021-10-29 18:42:42 +00:00
ssh-client \
2021-10-21 14:16:42 +00:00
&& pip --no-cache-dir install scipy \
&& apt-get autoremove --yes \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN wget 'https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb'
RUN npm i -g purify-css
2021-10-29 13:57:47 +00:00
RUN pip3 install --ignore-installed --upgrade setuptools pip virtualenv