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 && \