Update gym library, and remove unneeded libraries for headless servers
parent
3ade542ba5
commit
2228feb218
File diff suppressed because it is too large
Load Diff
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -24,7 +24,6 @@ dependencies:
|
|||
- pyglet=1.5 # used only in chapter 18 to render environments
|
||||
- pyopengl=3.1 # used only in chapter 18 to render environments
|
||||
- python=3.10 # your beloved programming language! :)
|
||||
#- pyvirtualdisplay=3.0 # used only in chapter 18 if on headless server
|
||||
- requests=2.28 # used only in chapter 19 for REST API queries
|
||||
- scikit-learn=1.1 # machine learning library
|
||||
- scipy=1.9 # scientific/technical computing library
|
||||
|
|
|
@ -59,10 +59,6 @@ Pillow~=9.2.0
|
|||
graphviz~=0.20.1
|
||||
pyglet~=1.5.26
|
||||
|
||||
#pyvirtualdisplay # needed in chapter 18, if on a headless server
|
||||
# (i.e., without screen, e.g., Colab or VM)
|
||||
|
||||
|
||||
##### Google Cloud Platform - used only in chapter 19
|
||||
google-cloud-aiplatform~=1.17.0
|
||||
google-cloud-storage~=2.5.0
|
||||
|
|
Loading…
Reference in New Issue