Yaron Koresh commited on
Commit
6fb797c
·
verified ·
1 Parent(s): e242c12

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -10
Dockerfile CHANGED
@@ -19,21 +19,21 @@ run apt-get update
19
  run apt-get install -y git curl nvidia-cuda-toolkit wget git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1 libglx-mesa0
20
 
21
  run mkdir -p ~/miniconda3
22
- run wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ./miniconda/install.sh
23
- run bash ./miniconda/install.sh -b -u -p ./miniconda
24
- run ./miniconda/bin/conda init bash
25
- run ./miniconda/bin/activate
26
- run ./miniconda/bin/conda env create -f ./env.yml
27
 
28
  run git lfs install --force
29
  run git clone https://github.com/python/cpython
30
- run cd cpython && ./configure --enable-optimizations --with-lto --prefix=~/app/python --with-system-libmpdec=no
31
- run cd cpython && make
32
- run cd cpython && make test
33
- run cd cpython && make install
34
  run cd cpython && make clean
35
 
36
- run PATH="${PATH:+${PATH}:}$PYTHONPATH:$HOME/app/miniconda/bin"
37
 
38
  run python -m pip install --upgrade --no-cache-dir pip
39
  run python -m pip install --upgrade --no-cache-dir -r deps.txt
 
19
  run apt-get install -y git curl nvidia-cuda-toolkit wget git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1 libglx-mesa0
20
 
21
  run mkdir -p ~/miniconda3
22
+ run wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda/install.sh
23
+ run bash ~/miniconda/install.sh -b -u -p ~/miniconda
24
+ run ~/miniconda/bin/conda init bash
25
+ run ~/miniconda/bin/activate
26
+ run ~/miniconda/bin/conda env create -f ./env.yml
27
 
28
  run git lfs install --force
29
  run git clone https://github.com/python/cpython
30
+ run cd cpython && ./configure --enable-optimizations --with-lto --prefix=~/app/python --with-system-libmpdec=no > /dev/null
31
+ run cd cpython && make > /dev/null
32
+ run cd cpython && make test > /dev/null
33
+ run cd cpython && make install > /dev/null
34
  run cd cpython && make clean
35
 
36
+ run PATH="${PATH:+${PATH}:}$PYTHONPATH:$HOME/miniconda/bin"
37
 
38
  run python -m pip install --upgrade --no-cache-dir pip
39
  run python -m pip install --upgrade --no-cache-dir -r deps.txt