Fix virtualenv in docker docks-builder

This commit is contained in:
Mikhail f. Shiryaev 2022-01-14 09:54:23 +01:00
parent bca9f56ccd
commit cdb3a51438
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# rebuild in #33610
# docker build -t clickhouse/docs-build .
# docker build -t clickhouse/docs-builder .
FROM ubuntu:20.04
# ARG for quick switch to a given ubuntu mirror
@ -10,8 +10,6 @@ ENV LANG=C.UTF-8
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
python3-setuptools \
virtualenv \
wget \
bash \
python \

View File

@ -2,6 +2,7 @@
set -euo pipefail
cd $REPO_PATH/docs/tools
rm -rf venv
mkdir venv
virtualenv -p $(which python3) venv
source venv/bin/activate