mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-23 10:30:41 +00:00
Use apt package for setuptools instead of pyenv
This commit is contained in:
parent
145253ccbf
commit
f372282b04
1 changed files with 5 additions and 2 deletions
|
@ -9,12 +9,15 @@ 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-venv python3-dev 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-dev python3-pip python3-setuptools zip unzip libclang-dev clang caddy crowdin3 &&\
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
#stick rust environment
|
#stick rust environment
|
||||||
COPY rust-toolchain ./
|
COPY rust-toolchain ./
|
||||||
|
|
||||||
|
#add rust toolchains
|
||||||
|
RUN rustup component add fmt && rustup component add clippy
|
||||||
|
|
||||||
#compile some deps
|
#compile some deps
|
||||||
RUN cargo install wasm-pack &&\
|
RUN cargo install wasm-pack &&\
|
||||||
cargo install grcov &&\
|
cargo install grcov &&\
|
||||||
|
@ -24,7 +27,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 python3 -m venv .venv && bash -c "source .venv/bin/activate && pip3 install selenium"
|
RUN pip3 install selenium
|
||||||
|
|
||||||
#configure caddy
|
#configure caddy
|
||||||
COPY Caddyfile /Caddyfile
|
COPY Caddyfile /Caddyfile
|
||||||
|
|
Loading…
Reference in a new issue