| |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| FROM nvidia/cuda:11.2.0-cudnn8-devel-ubuntu18.04 |
|
|
| ENV LANG C.UTF-8 |
|
|
| RUN echo '' |
| RUN rm -rf /var/lib/apt/lists/* \ |
| /etc/apt/sources.list.d/cuda.list \ |
| /etc/apt/sources.list.d/nvidia-ml.list && \ |
| apt-get update |
| |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
|
|
| |
| |
| |
|
|
| DEBIAN_FRONTEND=noninteractive $APT_INSTALL \ |
| build-essential \ |
| apt-utils \ |
| ca-certificates \ |
| wget \ |
| git \ |
| vim \ |
| libssl-dev \ |
| curl \ |
| bc \ |
| less \ |
| locate \ |
| unzip \ |
| unrar |
|
|
| RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && apt-get install -y -q |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null && \ |
| echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null && \ |
| apt-get update && \ |
| rm /usr/share/keyrings/kitware-archive-keyring.gpg && \ |
| $APT_INSTALL kitware-archive-keyring && \ |
| $APT_INSTALL cmake |
|
|
| |
| |
| |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| DEBIAN_FRONTEND=noninteractive $APT_INSTALL \ |
| software-properties-common \ |
| && \ |
| add-apt-repository ppa:deadsnakes/ppa && \ |
| apt-get update && \ |
| DEBIAN_FRONTEND=noninteractive $APT_INSTALL \ |
| python3.8 \ |
| python3.8-dev \ |
| python3-distutils-extra \ |
| && \ |
| wget -O ~/get-pip.py \ |
| https://bootstrap.pypa.io/get-pip.py && \ |
| python3.8 ~/get-pip.py && \ |
| ln -s /usr/bin/python3.8 /usr/local/bin/python3 && \ |
| ln -s /usr/bin/python3.8 /usr/local/bin/python |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL \ |
| setuptools \ |
| pipdeptree \ |
| && \ |
| $PIP_INSTALL \ |
| numpy==1.19.2 \ |
| scipy \ |
| pandas \ |
| cloudpickle \ |
| scikit-image>=0.14.2 \ |
| scikit-learn \ |
| matplotlib \ |
| Cython \ |
| tqdm |
|
|
| |
| |
| |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL \ |
| future \ |
| numpy==1.19.2 \ |
| protobuf \ |
| enum34 \ |
| pyyaml \ |
| typing \ |
| && \ |
| $PIP_INSTALL \ |
| --pre torch torchvision -f \ |
| https://download.pytorch.org/whl/nightly/cu112/torch_nightly.html |
|
|
| |
| |
| |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL \ |
| tensorflow-gpu |
|
|
| |
| |
| RUN ln -s /usr/local/cuda-11.2/targets/x86_64-linux/lib/libcusolver.so.11 /usr/local/cuda-11.2/targets/x86_64-linux/lib/libcusolver.so.10 |
| ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda-11.2/targets/x86_64-linux/lib" |
|
|
| |
| |
| |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL \ |
| h5py \ |
| keras |
|
|
| |
|
|
| |
| |
| |
|
|
| |
| |
|
|
| RUN apt update |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL software-properties-common |
| RUN apt update |
| RUN apt upgrade -y |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL sox |
|
|
| |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL pkg-config libhdf5-100 libhdf5-dev |
|
|
| |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL --reinstall python3-apt && \ |
| $APT_INSTALL gpg-agent |
| RUN wget --no-check-certificate -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - |
| |
| |
| RUN add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' |
| RUN apt update |
| |
| |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL llvm-11 lldb-11 llvm-11-dev libllvm11 llvm-11-runtime |
| RUN update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-11 11 |
| RUN update-alternatives --config llvm-config |
|
|
|
|
| |
| |
| |
| RUN add-apt-repository ppa:jonathonf/ffmpeg-4 |
| RUN apt-get update |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL ffmpeg |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL cython ipython |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL \ |
| numpy==1.19.2 \ |
| pynvml |
|
|
|
|
| |
| |
| RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL apt-transport-https ca-certificates gnupg |
| RUN wget -O - https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - |
| RUN apt-get update |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL google-cloud-sdk |
| |
|
|
| |
| |
| |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL hearbaseline hearvalidator |
|
|
| |
| RUN echo 20210912 |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $GIT_CLONE https://github.com/hearbenchmark/hear-baseline.git |
| RUN cd hear-baseline && \ |
| python -m pip --no-cache-dir install -e ".[dev]" |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $GIT_CLONE https://github.com/hearbenchmark/hear-eval-kit.git |
| RUN cd hear-eval-kit && \ |
| python -m pip --no-cache-dir install -e ".[dev]" |
|
|
| |
| |
| |
| |
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install --upgrade" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL \ |
| numba==0.48 |
|
|
| |
| |
| |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $APT_INSTALL screen tmux |
|
|
| |
| RUN curl https://pyenv.run | bash |
| |
| |
| ENV HOME="/root" |
| ENV PYENV_ROOT="${HOME}/.pyenv" |
| ENV PATH="${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}" |
| RUN $PYENV_ROOT/bin/pyenv install 3.7.12 |
| RUN $PYENV_ROOT/bin/pyenv install 3.8.12 |
| RUN $PYENV_ROOT/bin/pyenv global system 3.7.12 3.8.12 |
| RUN echo 'eval "$(pyenv init -)"' >> /root/.bashrc ; chmod +x /root/.bashrc |
| RUN echo 'eval "$(pyenv virtualenv-init -)"' >> /root/.bashrc ; chmod +x /root/.bashrc |
|
|
| RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \ |
| PIP_INSTALL="python -m pip --no-cache-dir install" && \ |
| GIT_CLONE="git clone --depth 10" && \ |
| $PIP_INSTALL gdown |
|
|
|
|
| |
| |
| |
|
|
| RUN \ |
| ldconfig && \ |
| apt-get clean && \ |
| apt-get autoremove && \ |
| rm -rf /var/lib/apt/lists/* /tmp/* ~/* |
|
|
| RUN updatedb |
|
|
| EXPOSE 6006 |
|
|