From ed58e44d2eeddd71e7fea72e5f373d1f59f668c2 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 15 May 2022 05:26:27 +0900 Subject: [PATCH] Use Python 3 to install Selenium --- .circleci/images/plume-buildenv/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/images/plume-buildenv/Dockerfile b/.circleci/images/plume-buildenv/Dockerfile index 6858a988..58785a08 100644 --- a/.circleci/images/plume-buildenv/Dockerfile +++ b/.circleci/images/plume-buildenv/Dockerfile @@ -9,7 +9,7 @@ RUN apt update &&\ wget -qO - https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | apt-key add - &&\ echo "deb https://artifacts.crowdin.com/repo/deb/ /" > /etc/apt/sources.list.d/crowdin.list &&\ apt update &&\ - apt install -y --no-install-recommends binutils-dev build-essential cmake curl gcc gettext git libcurl4-openssl-dev libdw-dev libelf-dev libiberty-dev libpq-dev libsqlite3-dev libssl-dev make openssl pkg-config postgresql postgresql-contrib python zlib1g-dev python3-pip zip unzip libclang-dev clang caddy crowdin3 &&\ + apt install -y --no-install-recommends binutils-dev build-essential cmake curl gcc gettext git libcurl4-openssl-dev libdw-dev libelf-dev libiberty-dev libpq-dev libsqlite3-dev libssl-dev make openssl pkg-config postgresql postgresql-contrib python zlib1g-dev python3-venv python3-dev zip unzip libclang-dev clang caddy crowdin3 &&\ rm -rf /var/lib/apt/lists/* #compile some deps @@ -21,7 +21,7 @@ RUN cargo install wasm-pack &&\ COPY cargo_config /root/.cargo/config #install selenium for front end tests -RUN pip3 install selenium +RUN python3 -m venv .venv && bash -c "source .venv/bin/activate && pip3 install selenium" #configure caddy COPY Caddyfile /Caddyfile