mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Prevent incompatable upgrade of crypto-policies (#82475)
An upgrade of crypto-policies is incompatible with libnss as it removes `/usr/bin/update-crypto-policies` being used. A follow-up issue has been created to track removing this pinning https://github.com/elastic/kibana/issues/82474 Signed-off-by: Tiago Costa <tiago.costa@elastic.co> Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
39ce0cdd11
commit
eeb314e2db
1 changed files with 10 additions and 0 deletions
|
@ -43,7 +43,17 @@ RUN chmod -R g=u /usr/share/kibana
|
|||
FROM {{{baseOSImage}}}
|
||||
EXPOSE 5601
|
||||
|
||||
{{#ubi}}
|
||||
# https://github.com/rpm-software-management/microdnf/issues/50
|
||||
RUN mkdir -p /run/user/$(id -u)
|
||||
|
||||
# crypto-policies not currently compatible with libnss :sadpanda:
|
||||
RUN printf "[main]\nexclude=crypto-policies" > /etc/dnf/dnf.conf
|
||||
{{/ubi}}
|
||||
|
||||
RUN for iter in {1..10}; do \
|
||||
# update microdnf to have exclusion feature for dnf configuration
|
||||
{{packageManager}} update microdnf --setopt=tsflags=nodocs -y && \
|
||||
{{packageManager}} update --setopt=tsflags=nodocs -y && \
|
||||
{{packageManager}} install --setopt=tsflags=nodocs -y \
|
||||
fontconfig freetype shadow-utils libnss3.so {{#ubi}}findutils{{/ubi}} && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue