Use Python 3 to install Selenium
This commit is contained in:
parent
f151dee339
commit
ed58e44d2e
@ -9,7 +9,7 @@ RUN apt update &&\
|
|||||||
wget -qO - https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | apt-key add - &&\
|
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 &&\
|
echo "deb https://artifacts.crowdin.com/repo/deb/ /" > /etc/apt/sources.list.d/crowdin.list &&\
|
||||||
apt update &&\
|
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/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
#compile some deps
|
#compile some deps
|
||||||
@ -21,7 +21,7 @@ RUN cargo install wasm-pack &&\
|
|||||||
COPY cargo_config /root/.cargo/config
|
COPY cargo_config /root/.cargo/config
|
||||||
|
|
||||||
#install selenium for front end tests
|
#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
|
#configure caddy
|
||||||
COPY Caddyfile /Caddyfile
|
COPY Caddyfile /Caddyfile
|
||||||
|
Loading…
Reference in New Issue
Block a user