Skip to content

Commit

Permalink
add -y to microdnf update to unstuck builds (#1580)
Browse files Browse the repository at this point in the history
Builds would be stuck due to waiting on the promt to accept upgraded
packages.

Signed-off-by: Jacob Baungard Hansen <[email protected]>
Co-authored-by: Jacob Baungard Hansen <[email protected]>
  • Loading branch information
1 parent 2a09185 commit 50c301f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion collectors/metrics/Containerfile.operator
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ LABEL org.label-schema.vendor="Red Hat" \
io.k8s.description="$IMAGE_DESCRIPTION" \
io.openshift.tags="$IMAGE_OPENSHIFT_TAGS"

RUN microdnf update &&\
RUN microdnf update -y &&\
microdnf install ca-certificates vi -y --nodocs &&\
mkdir /licenses &&\
microdnf clean all
Expand Down
2 changes: 1 addition & 1 deletion collectors/metrics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ LABEL org.label-schema.vendor="Red Hat" \
io.k8s.description="$IMAGE_DESCRIPTION" \
io.openshift.tags="$IMAGE_OPENSHIFT_TAGS"

RUN microdnf update &&\
RUN microdnf update -y &&\
microdnf install ca-certificates vi -y --nodocs &&\
mkdir /licenses &&\
microdnf clean all
Expand Down

0 comments on commit 50c301f

Please sign in to comment.