Skip to content

Commit 1bd7117

Browse files
committed
Update azure-cli installation for trixie
1 parent 494f051 commit 1bd7117

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

.docker/gcloud-slim

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ ARG SOPS_VERSION="v3.13.1"
55
ARG USERNAME=git
66
ARG TARGETARCH
77
SHELL ["/bin/bash", "-c"]
8-
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \
9-
apt-get install -y --no-install-recommends \
10-
build-essential ca-certificates curl emacs-nox git gpg gpg-agent htop jq \
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
azure-cli build-essential ca-certificates curl emacs-nox git gpg gpg-agent htop jq \
1110
kubectl libsqlite3-0 microsocks openssh-server pandoc postgresql-client python3-epc \
1211
python3-importmagic ripgrep software-properties-common sudo tmate tmux tree \
1312
tzdata unzip && apt-get clean -y && \

.org

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,17 @@
5858
- [ ] An error occurred while installing forge (error: (error Package ?emacs-29.1? is unavailable))
5959
- [ ] An error occurred while installing code-review (error: (error Package ?emacs-29.1? is unavailable))
6060
- [ ] gcloud-slim bookworm -> trixie
61+
- [[https://github.com/jgmize/dotfiles/actions/runs/26256029545/job/77278797362][build-push job]] failed installing az cli:
62+
#6 5.263 Preparing to unpack .../azure-cli_2.86.0-1~bookworm_amd64.deb ...
63+
#6 5.286 Unpacking azure-cli (2.86.0-1~bookworm) ...
64+
#6 8.401 Setting up azure-cli (2.86.0-1~bookworm) ...
65+
#6 8.420 Reading package lists...
66+
#6 8.895 Building dependency tree...
67+
#6 8.977 Reading state information...
68+
#6 8.989 E: Unable to locate package software-properties-common
69+
- [[https://github.com/Azure/azure-cli/issues/32069][Install Azure CLI on Debian 13 - missing trixie directory · Issue #32069 · Azure/azure-cli]]
70+
- the workaround documented in the issue above (hardcoding to bookworm) appears to no longer be sufficient
71+
- azure-cli appears to be in trixie main
72+
- [[https://debian.pkgs.org/13/debian-main-amd64/azure-cli_2.74.0-1_all.deb.html][azure-cli_2.74.0-1_all.deb Debian 13 Download]]
73+
- [ ] add package name to apt install instead of https://aka.ms/InstallAzureCLIDeb
6174
- [ ] git username image

0 commit comments

Comments
 (0)