summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/docker/tb-atn/make_venv.sh
blob: 1ae7b1f8814bd151827b2da241fb477c65458c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

set -xe

cd /builds/worker || exit 1

python3 -m venv --system-site-packages venv
source ./venv/bin/activate
python3 -m pip install -r /builds/worker/requirements.txt