From 68e4fccd8980b1d178beaa2a3b3fbaba83866b28 Mon Sep 17 00:00:00 2001 From: Cliff Hill Date: Mon, 27 Oct 2025 19:28:15 -0400 Subject: [PATCH] Some fixes for apt-fast were needed. Signed-off-by: Cliff Hill --- Dockerfile.cicd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.cicd b/Dockerfile.cicd index e90c228..9173013 100644 --- a/Dockerfile.cicd +++ b/Dockerfile.cicd @@ -42,14 +42,14 @@ RUN apt-fast update && apt-fast install -y \ RUN for i in 1 2 3; do \ echo "Attempt $i: Adding deadsnakes PPA..." && \ add-apt-repository -y ppa:deadsnakes/ppa && \ - apt-get update --timeout=60 && \ + apt-get update && \ break || \ (echo "Attempt $i failed, retrying in 10s..." && sleep 10); \ done RUN for i in 1 2 3; do \ echo "Attempt $i: Installing Python 3.13..." && \ - apt-fast install -y --timeout=300 \ + timeout 300 apt-fast install -y \ python3.13 \ python3.13-venv \ python3.13-dev && \ @@ -63,8 +63,8 @@ RUN for i in 1 2 3; do \ echo "Attempt $i: Installing Node.js 24..." && \ curl -fsSL --connect-timeout 30 --max-time 300 \ https://deb.nodesource.com/setup_24.x | bash - && \ - apt-fast update --timeout=60 && \ - apt-fast install -y --timeout=300 nodejs && \ + apt-fast update && \ + timeout 300 apt-fast install -y nodejs && \ break || \ (echo "Attempt $i failed, retrying in 15s..." && sleep 15); \ done && \