@ai-support-agent/cli 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/docker/Dockerfile +12 -5
  2. package/package.json +1 -1
package/docker/Dockerfile CHANGED
@@ -5,7 +5,12 @@ FROM node:24-slim
5
5
  # =============================================================================
6
6
  # Bust cache when Debian GPG signatures expire (bump this date to force full rebuild)
7
7
  ARG APT_CACHE_BUST=2026-05-21
8
- RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ # `apt-get update` is retried (3 attempts, 5s/15s backoff) at every occurrence in
9
+ # this file to absorb transient DNS/network failures reaching deb.debian.org
10
+ # (e.g. Docker daemon DNS hiccups on Ubuntu 24.04+ hosts) that would otherwise
11
+ # abort the whole build on the first hit.
12
+ RUN (apt-get update || (sleep 5 && apt-get update) || (sleep 15 && apt-get update)) \
13
+ && apt-get install -y --no-install-recommends \
9
14
  ca-certificates curl unzip git openssh-client vim jq \
10
15
  default-mysql-client postgresql-client \
11
16
  gnupg apt-transport-https \
@@ -75,7 +80,7 @@ RUN ARCH=$(dpkg --print-architecture) && \
75
80
  curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /usr/share/keyrings/microsoft.gpg \
76
81
  && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/debian/12/prod bookworm main" \
77
82
  > /etc/apt/sources.list.d/mssql-release.list \
78
- && apt-get update \
83
+ && (apt-get update || (sleep 5 && apt-get update) || (sleep 15 && apt-get update)) \
79
84
  && ACCEPT_EULA=Y apt-get install -y --no-install-recommends mssql-tools18 unixodbc-dev \
80
85
  && rm -rf /var/lib/apt/lists/*; \
81
86
  fi
@@ -85,14 +90,16 @@ ENV PATH="$PATH:/opt/mssql-tools18/bin"
85
90
  # Re-install debian-archive-keyring to refresh GPG keys before apt-get update.
86
91
  # This prevents "invalid signature" errors when this layer runs on a cached
87
92
  # base where the Debian signing keys have been rotated since the cache was built.
88
- RUN apt-get update --allow-insecure-repositories -o Acquire::Check-Valid-Until=false \
89
- -o Acquire::Check-Date=false || true \
93
+ RUN (apt-get update --allow-insecure-repositories -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false \
94
+ || (sleep 5 && apt-get update --allow-insecure-repositories -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false) \
95
+ || (sleep 15 && apt-get update --allow-insecure-repositories -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false) \
96
+ || true) \
90
97
  && apt-get install -y --allow-unauthenticated debian-archive-keyring \
91
98
  && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
92
99
  -o /usr/share/keyrings/githubcli-archive-keyring.gpg \
93
100
  && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
94
101
  > /etc/apt/sources.list.d/github-cli.list \
95
- && apt-get update \
102
+ && (apt-get update || (sleep 5 && apt-get update) || (sleep 15 && apt-get update)) \
96
103
  && apt-get install -y --no-install-recommends gh \
97
104
  && rm -rf /var/lib/apt/lists/* \
98
105
  && ARCH=$(dpkg --print-architecture) \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-support-agent/cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "AI Support Agent CLI client",
5
5
  "main": "dist/index.js",
6
6
  "bin": {