-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile_pytorch_and_more
56 lines (36 loc) · 2.35 KB
/
Dockerfile_pytorch_and_more
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM nvcr.io/nvidia/pytorch:21.02-py3
LABEL maintainer="wfedorko@triumf.ca"
COPY check_jedi.py .
RUN ls /opt/conda/lib/python3.8/site-packages/jedi && \
python check_jedi.py && \
pip uninstall -y jedi && \
ls /opt/conda/lib/python3.8/site-packages/jedi || true && \
rm -rfv /opt/conda/lib/python3.8/site-packages/jedi
RUN apt-get update
RUN apt-get --yes upgrade && apt-get --yes install strace locate ddd libxtst6 libxtst-dev libx11-xcb1 libxkbcommon-x11-0 libxcb-xkb1
RUN apt-get --yes install google-perftools
RUN apt-get --yes install hdf5-tools h5utils libhdf5-dev
COPY pre_config.txt .
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && \
debconf-set-selections pre_config.txt && \
echo $DEBIAN_FRONTEND $DEBCONF_NONINTERACTIVE_SEEN=true && \
debconf-show tzdata && \
wget -O vscode.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' && \
apt --yes install ./vscode.deb && rm vscode.deb
RUN wget https://download.jetbrains.com/python/pycharm-community-2019.2.3.tar.gz?_ga=2.141719730.1677997767.1570599993-1937107941.1570599993 && tar xfz pycharm-*.tar.gz* -C /opt/ && rm -r pycharm-*.tar.gz*
RUN pip install --upgrade pip
RUN pip install xgboost lightgbm seaborn h5py plotly torchviz line_profiler bokeh tqdm pandas ipywidgets python-csv memory_profiler hydra-core boost-histogram uproot3 uproot4 awkward1 particle debugpy alabaster Babel cached-property certifi chardet cycler docutils gif idna imagesize Jinja2 joblib kiwisolver MarkupSafe packaging Pillow Pygments pyparsing python-dateutil pytz requests scikit-learn scipy six sklearn snowballstemmer Sphinx sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml threadpoolctl typing-extensions urllib3 wandb spyder pdbpp jedi==0.17.2 Rtree
#RUN pip uninstall -y jedi && \
#rm -rfv /opt/conda/lib/python3.8/site-packages/jedi && \
#pip install jedi==0.17.2 && \
#ls /opt/conda/lib/python3.8/site-packages/jedi && \
#python check_jedi.py && \
#rm -rfv /opt/conda/lib/python3.8/site-packages/jedi/common && \
#python check_jedi.py
#
#RUN ls /opt/conda/lib/python3.8/site-packages/jedi && \
#python check_jedi.py && \
#rm -rfv /opt/conda/lib/python3.8/site-packages/jedi/common && \
#python check_jedi.py
RUN ls /opt/conda/lib/python3.8/site-packages/jedi && \
python check_jedi.py