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

@@ -12,15 +12,13 @@ RUN apt-get update && apt-get install -y \
sudo \
unzip \
xorg-dev \
xvfb \
zip \
zlib1g-dev \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
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 \