Commit 7b433074 authored by jyotish's avatar jyotish
Browse files

Fix dependencies

parent 401efc66
FROM nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04
FROM nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -qq update && apt -qq install -y --no-install-recommends \
wget \
ca-certificates \
locales \
libglib2.0 \
libsm6 \
libxext6 \
libxrender-dev \
xvfb \
ffmpeg \
freeglut3-dev \
COPY apt.txt /tmp/apt.txt
RUN apt -qq update && apt -qq install -y --no-install-recommends `cat /tmp/apt.txt` \
&& rm -rf /var/cache/*
# Unicode support:
......@@ -43,15 +34,16 @@ WORKDIR ${HOME_DIR}
ENV CONDA_DIR ${HOME_DIR}/.conda
RUN wget -nv -O miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh \
RUN wget -nv -O miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh \
&& bash miniconda.sh -b -p ${CONDA_DIR} \
&& . ${CONDA_DIR}/etc/profile.d/conda.sh \
&& conda clean -y -a \
&& rm -rf miniconda.sh
ENV PATH ${CONDA_DIR}/bin:${PATH}
RUN conda install cmake -y
COPY --chown=${HOST_UID}:${HOST_GID} requirements.txt ${HOME_DIR}/requirements.txt
RUN conda install cmake -y && conda clean -y -a
COPY --chown=1001:1001 requirements.txt ${HOME_DIR}/requirements.txt
RUN pip install -r requirements.txt --no-cache-dir
COPY --chown=${HOST_UID}:${HOST_GID} . ${HOME_DIR}
COPY --chown=1001:1001 . ${HOME_DIR}
\ No newline at end of file
build-essential
git
cmake
flex
bison
libbz2-dev
wget
ca-certificates
locales
libglib2.0
libsm6
libxext6
libxrender-dev
xvfb
ffmpeg
freeglut3-dev
gcc
g++
\ No newline at end of file
name: nle
dependencies:
- python=3.8
- cmake=3.14
- numpy
- pip:
- aicrowd-gym
- -r file:requirements.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment