openSUSE / ca-certificates

Utilities for system wide CA certificate installation
GNU General Public License v2.0
24 stars 20 forks source link

Not installable in Busybox container build #26

Open tacerus opened 4 weeks ago

tacerus commented 4 weeks ago

It seems to not be possible to include ca-certificates in a minimal BCI Busybox based container - maybe because of the /usr/bin/readlink requirement?

[   27s] [ DEBUG   ]: 10:40:33 | bootstrap: not installable providers: ca-certificates-2+git20240416.98ae794-150300.4.3.3.noarch[3499d7cdc2b1408d65d6b5b421d05e3b]
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap:  Solution 1: Following actions will be done:
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap:   deinstallation of busybox-coreutils-1.35.0-150500.7.2.3.noarch
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap:   deinstallation of busybox-findutils-1.35.0-150500.7.2.3.noarch
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap:   deinstallation of busybox-links-1.35.0-150500.7.2.3.noarch
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap:  Solution 2: do not install ca-certificates-suse-1.0-lp155.1.1.noarch
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap:  Solution 3: break ca-certificates-suse-1.0-lp155.1.1.noarch by ignoring some of its dependencies
[   27s] [ DEBUG   ]: 10:40:33 | bootstrap: Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
tacerus commented 4 weeks ago

I'm not quite sure why, because busybox-coreutils also provides /usr/bin/readlink. Any ideas?

tacerus commented 4 weeks ago

I see now, it might be because of the scripts using /bin/bash.