k8snetworkplumbingwg / ib-sriov-cni

InfiniBand SR-IOV CNI
Other
40 stars 27 forks source link

Remove `linux-headers` apk from Dockerfile #84

Closed zeeke closed 5 months ago

zeeke commented 5 months ago

Referring an exact version of the linux-headers package might break image building process, with errors like:

#11 0.185 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
#11 0.459 ERROR: unable to select packages:
#11 0.461   linux-headers-6.5-r0:
#11 0.461     breaks: build-dependencies-20240212.104211[linux-headers~6.3]
#11 0.461   build-dependencies-20240212.104211:
#11 0.461     masked in: cache
#11 0.461     satisfies: world[build-dependencies=20240212.104211]
#11 ERROR: process "/bin/sh -c apk add --no-cache --virtual build-dependencies build-base=~0.5 linux-headers=~6.3" did not complete successfully: exit code: 2

Comes from:

@almaslennikov I'm not sure why we introduced the linux-headers package. I can remove it if it's not really needed. Please, take a look

:exclamation: Note: no new image is currently published for this repository due to this error. (see action log)

zeeke commented 5 months ago

@adrianchiris, @e0ne, @SchSeba please take a look at his