From 4c5bf3816562b36420e9d568246a4770ed899fba Mon Sep 17 00:00:00 2001 From: Ashutosh619-sudo Date: Tue, 29 Apr 2025 23:59:44 +0530 Subject: [PATCH 1/2] Feat: Change python version in docker --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab95139..17190ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.13-slim +FROM python:3.11-slim LABEL "com.github.actions.name"="GitHub Action for Python Pylint" LABEL "com.github.actions.description"="Run pylint commands on python slim image" @@ -11,4 +11,4 @@ RUN pip install pylint COPY entrypoint.sh / RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"] From 8a0149eb8138151dce23f328b1abeae9c98b15e8 Mon Sep 17 00:00:00 2001 From: Ashutosh619-sudo Date: Wed, 30 Apr 2025 00:09:55 +0530 Subject: [PATCH 2/2] Feat: Add command to install setuptools --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 17190ae..5edfebe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,7 @@ LABEL "com.github.actions.description"="Run pylint commands on python slim image LABEL "com.github.actions.icon"="code" LABEL "com.github.actions.color"="black" - -RUN pip install --upgrade pip +RUN pip install --upgrade pip && pip install -U pip wheel setuptools RUN pip install pylint COPY entrypoint.sh /