Skip to content

Commit 79eb6aa

Browse files
authored
devenv: Explicitly install ca-certificates before curl (#142)
The Debian sid base image may not include ca-certificates, and curl only Recommends (not Depends on) it. This causes curl to fail with SSL trust anchor errors when fetching the GitHub CLI keyring. Assisted-by: Claude Code (Opus 4.6) Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
1 parent 2af5233 commit 79eb6aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devenv/Containerfile.debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -xeuo pipefail
1111
echo 'APT::Sandbox::User "root";' > /etc/apt/apt.conf.d/99sandbox-disable
1212

1313
# Initialize some basic packages
14-
apt -y update && apt -y install curl time bzip2
14+
apt -y update && apt -y install ca-certificates curl time bzip2
1515

1616
# Enable deb-src repositories for build-dep
1717
sed -i "s/^deb /deb [arch=$(dpkg --print-architecture)] /" /etc/apt/sources.list.d/debian.sources

0 commit comments

Comments
 (0)