This commit is contained in:
Alagris 2021-06-06 19:50:07 +02:00
parent a690d700cc
commit d0c3538828

View File

@ -1,4 +1,4 @@
FROM continuumio/miniconda3 FROM ubuntu:latest
ENV PYTHONIOENCODING=utf-8 ENV PYTHONIOENCODING=utf-8
@ -7,13 +7,13 @@ RUN apt update && apt install -y python3 python3-pip git locales
RUN pip3 install requests python-Levenshtein tqdm sacred pymongo mlflow RUN pip3 install requests python-Levenshtein tqdm sacred pymongo mlflow
RUN pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html RUN pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
#RUN pip3 install setuptools-rust RUN pip3 install setuptools-rust
#RUN pip3 install dvc[ssh] paramiko RUN pip3 install dvc[ssh] paramiko
# RUN apt install -y wget # RUN apt install -y wget
# RUN wget https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh # RUN wget https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
# RUN chmod +x ./Anaconda3-2021.05-Linux-x86_64.sh # RUN chmod +x ./Anaconda3-2021.05-Linux-x86_64.sh
# RUN ./Anaconda3-2021.05-Linux-x86_64.sh # RUN ./Anaconda3-2021.05-Linux-x86_64.sh
RUN conda install -y -c conda-forge dvc-ssh # RUN conda install -c conda-forge dvc-ssh
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8 RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'