mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-27 10:10:27 +01:00
Update gym library, and remove unneeded libraries for headless servers
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user