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 authored Nov 4, 2020
1 parent b999989 commit 4cdf5c6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,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 4cdf5c6

Please sign in to comment.