From aa683fdc3acb6b99fe1d0e4d1ac9c938572eaa9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zden=C4=9Bk=20Vydra?= <485514@mail.muni.cz>
Date: Wed, 7 Aug 2024 18:12:08 +0200
Subject: [PATCH] Update Ansible and Python version

---
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index a077704..0ceeff2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.8-slim-buster
+FROM python:3.12-slim-bookworm
 
 ENV ANSIBLE_STDOUT_CALLBACK=default
 ENV ANSIBLE_RETRY_FILES_ENABLED=0
@@ -8,7 +8,7 @@ ENV PIP_EXTRA_INDEX_URL="https://gitlab.ics.muni.cz/api/v4/projects/2358/package
 
 RUN apt update && apt install -y gnupg2 git autossh
 
-RUN pip3 install ansible==5.* pypsrp requests[socks] automated-problem-generation-lib
+RUN pip3 install ansible==9.* pypsrp requests[socks] automated-problem-generation-lib
 
 RUN rm -rf /var/cache/apt/
 
-- 
GitLab