Skip to content

Commit

Permalink
chore(NA): install microdnf in UBI docker build only (#82611)
Browse files Browse the repository at this point in the history
* chore(NA): install microdnf in uby docker build only

* chore(NA): run microdnf update inside a retry

* chore(NA): run microdnf update inside the main retry
  • Loading branch information
mistic committed Nov 4, 2020
1 parent 85fa2ca commit 91b0a91
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ EXPOSE 5601
{{/ubi}}

RUN for iter in {1..10}; do \
# update microdnf to have exclusion feature for dnf configuration
{{packageManager}} update microdnf --setopt=tsflags=nodocs -y && \
{{#ubi}}
# update microdnf to have exclusion feature for dnf configuration
{{packageManager}} update microdnf --setopt=tsflags=nodocs -y && \
{{/ubi}}
{{packageManager}} update --setopt=tsflags=nodocs -y && \
{{packageManager}} install --setopt=tsflags=nodocs -y \
fontconfig freetype shadow-utils libnss3.so {{#ubi}}findutils{{/ubi}} && \
Expand Down

0 comments on commit 91b0a91

Please sign in to comment.