From 571d0400b220b2fbdb46a59349784631cfb93d0d Mon Sep 17 00:00:00 2001 From: SBCrumb Date: Tue, 16 Sep 2025 15:47:54 -0400 Subject: [PATCH] python fix --- .gitea/workflows/ci.yml | 5 +++++ Dockerfile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e426b42..c01c404 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -72,6 +72,11 @@ jobs: LOCAL_REGISTRY="192.168.253.221:3000" CACHE_IMAGE="$LOCAL_REGISTRY/jskala/nfoguard:buildcache" + # Clear any existing Docker configs to prevent permission issues + unset DOCKER_CONFIG + export HOME=/tmp/docker-home + mkdir -p $HOME + # Enable Docker BuildKit for better caching export DOCKER_BUILDKIT=1 diff --git a/Dockerfile b/Dockerfile index 22ab1d6..e8a683e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.13-slim +FROM python:3.12-slim # Set environment variables ENV PYTHONDONTWRITEBYTECODE=1 \