diff --git a/.circleci/config.yml b/.circleci/config.yml
index dc5d4bf9..827a9a7e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,14 +6,14 @@ jobs:
   build-docs:
     working_directory: ~/repo
     docker:
-      - image: circleci/python:3.8.5-buster
+      - image: cimg/python:3.8
 
     steps:
       - checkout
 
       - run:
           name: Install deps for building atari-py
-          command: sudo apt-get install -y cmake ffmpeg
+          command: sudo apt-get update && sudo apt-get install -y cmake ffmpeg
 
       - run:
           name: Install Python dependencies
diff --git a/environment.yml b/environment.yml
index 09751663..224032ef 100644
--- a/environment.yml
+++ b/environment.yml
@@ -14,4 +14,4 @@ dependencies:
   - pooch
   - pip:
     - jupyter-book
-    - gym[atari]
+    - gym[atari]==0.19