Commit 9850b8de authored by Jérôme Charaoui's avatar Jérôme Charaoui 🕯️
Browse files

build lektor withouit venv

attempt to fix failing lektor builds that started recently with a Docker
image update, it seems that installing python3-venv is pulling in
python3.9 stuff that could be conflicting with python3.8 installed in
the container
parent ecd37835
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -25,9 +25,7 @@ include:
      - git clone --depth=1 https://gitlab.torproject.org/tpo/community/l10n.git l10n
      - ./l10n/bin/setup_l10n_staging.py
    build:
      - apt-get install -y git ca-certificates python3-venv gettext wget
      - python3 -m venv venv
      - source venv/bin/activate
      - apt-get install -y git ca-certificates gettext wget
      - wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt
      - python3 -m pip install --require-hashes -r requirements.txt
      - export LEKTOR_BUILD_ARGS="--buildstate-path .cache/lektor --output-path public"