From c34f0010a8e83f660703d4f90bbf5d11096326f8 Mon Sep 17 00:00:00 2001 From: Ariel Kwiatkowski Date: Tue, 2 Jul 2024 11:10:35 +0200 Subject: [PATCH] Update necessary-py.Dockerfile to pin the numpy version (#1098) --- bin/necessary-py.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/necessary-py.Dockerfile b/bin/necessary-py.Dockerfile index 31067f275..2c26751af 100644 --- a/bin/necessary-py.Dockerfile +++ b/bin/necessary-py.Dockerfile @@ -20,6 +20,7 @@ RUN apt-get -y update \ COPY . /usr/local/gymnasium/ WORKDIR /usr/local/gymnasium/ +RUN pip install --upgrade "numpy>=1.21,<2.0" RUN pip install .[testing] --no-cache-dir ENTRYPOINT ["/usr/local/gymnasium/bin/docker_entrypoint"]