Update gym library, and remove unneeded libraries for headless servers
parent
3ade542ba5
commit
2228feb218
File diff suppressed because it is too large
Load Diff
1
apt.txt
1
apt.txt
|
@ -10,6 +10,5 @@ sudo
|
||||||
swig
|
swig
|
||||||
unzip
|
unzip
|
||||||
xorg-dev
|
xorg-dev
|
||||||
xvfb
|
|
||||||
zip
|
zip
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
|
|
|
@ -12,15 +12,13 @@ RUN apt-get update && apt-get install -y \
|
||||||
sudo \
|
sudo \
|
||||||
unzip \
|
unzip \
|
||||||
xorg-dev \
|
xorg-dev \
|
||||||
xvfb \
|
|
||||||
zip \
|
zip \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
&& apt clean \
|
&& apt clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY environment.yml /tmp/
|
COPY environment.yml /tmp/
|
||||||
RUN echo ' - pyvirtualdisplay' >> /tmp/environment.yml \
|
RUN conda env create -f /tmp/environment.yml \
|
||||||
&& conda env create -f /tmp/environment.yml \
|
|
||||||
&& conda clean -afy \
|
&& conda clean -afy \
|
||||||
&& find /opt/conda/ -follow -type f -name '*.a' -delete \
|
&& find /opt/conda/ -follow -type f -name '*.a' -delete \
|
||||||
&& find /opt/conda/ -follow -type f -name '*.pyc' -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 \
|
swig \
|
||||||
wget \
|
wget \
|
||||||
xorg-dev \
|
xorg-dev \
|
||||||
xvfb \
|
|
||||||
zip \
|
zip \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
build-essential \
|
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
|
# Now we're ready to create our conda environment
|
||||||
|
|
||||||
COPY environment.yml /tmp/
|
COPY environment.yml /tmp/
|
||||||
RUN echo ' - pyvirtualdisplay' >> /tmp/environment.yml \
|
RUN conda env create -f /tmp/environment.yml \
|
||||||
&& conda env create -f /tmp/environment.yml \
|
|
||||||
&& conda clean -afy \
|
&& conda clean -afy \
|
||||||
&& find /opt/conda/ -follow -type f -name '*.a' -delete \
|
&& find /opt/conda/ -follow -type f -name '*.a' -delete \
|
||||||
&& find /opt/conda/ -follow -type f -name '*.pyc' -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
|
- pyglet=1.5 # used only in chapter 18 to render environments
|
||||||
- pyopengl=3.1 # 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! :)
|
- 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
|
- requests=2.28 # used only in chapter 19 for REST API queries
|
||||||
- scikit-learn=1.1 # machine learning library
|
- scikit-learn=1.1 # machine learning library
|
||||||
- scipy=1.9 # scientific/technical computing library
|
- scipy=1.9 # scientific/technical computing library
|
||||||
|
|
|
@ -59,10 +59,6 @@ Pillow~=9.2.0
|
||||||
graphviz~=0.20.1
|
graphviz~=0.20.1
|
||||||
pyglet~=1.5.26
|
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 Platform - used only in chapter 19
|
||||||
google-cloud-aiplatform~=1.17.0
|
google-cloud-aiplatform~=1.17.0
|
||||||
google-cloud-storage~=2.5.0
|
google-cloud-storage~=2.5.0
|
||||||
|
|
Loading…
Reference in New Issue