mirror of
https://github.com/MeiK2333/river.git
synced 2025-11-04 14:49:40 +08:00
15 lines
357 B
Docker
15 lines
357 B
Docker
FROM ubuntu:18.04
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
# install python3.6
|
|
RUN apt update && \
|
|
apt install -y software-properties-common && \
|
|
add-apt-repository -y ppa:deadsnakes/ppa && \
|
|
apt install python3.6
|
|
|
|
# install rust
|
|
RUN apt install -y curl && \
|
|
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y
|
|
ENV PATH=/root/.cargo/bin:$PATH
|