Update gym library, and remove unneeded libraries for headless servers

This commit is contained in:
Aurélien Geron
2022-09-24 12:23:42 +12:00
parent 3ade542ba5
commit 2228feb218
6 changed files with 291 additions and 261 deletions

View File

@@ -49,7 +49,6 @@ RUN apt-get update -q && apt-get install -q -y --no-install-recommends \
swig \
wget \
xorg-dev \
xvfb \
zip \
zlib1g-dev \
build-essential \
@@ -129,8 +128,7 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-${CONDA_VERSION}
# Now we're ready to create our conda environment
COPY environment.yml /tmp/
RUN echo ' - pyvirtualdisplay' >> /tmp/environment.yml \
&& conda env create -f /tmp/environment.yml \
RUN conda env create -f /tmp/environment.yml \
&& conda clean -afy \
&& find /opt/conda/ -follow -type f -name '*.a' -delete \
&& find /opt/conda/ -follow -type f -name '*.pyc' -delete \