Skip to content

Commit

Permalink
Add -y to microdnf commands (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 authored Jan 7, 2023
1 parent 165151c commit eca56f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ LABEL name=ARG_BIN \
maintainer="Tom Manville<tom@kasten.io>" \
description="Frameworks and utilities for application-specific data management, has updated openssl-libs."

RUN microdnf update openssl-libs && \
microdnf update cyrus-sasl-lib && \
microdnf install git && \
RUN microdnf -y update openssl-libs cyrus-sasl-lib && \
microdnf -y install git && \
microdnf clean all

COPY licenses /licenses/licenses
Expand Down
2 changes: 1 addition & 1 deletion docker/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.1.0-1656.1669627757

LABEL maintainer="Tom Manville<tom@kasten.io>"

RUN microdnf update openssl-libs
RUN microdnf -y update openssl-libs

ADD controller /controller
ENTRYPOINT ["/controller"]
4 changes: 2 additions & 2 deletions docker/tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ COPY --from=builder /kopia/kopia /usr/local/bin/kopia
COPY LICENSE /licenses/LICENSE

ADD kando /usr/local/bin/
RUN microdnf update && microdnf install shadow-utils gzip && \
RUN microdnf -y update && microdnf -y install shadow-utils gzip && \
adduser -U kanister -u 1000 && \
microdnf remove shadow-utils && \
microdnf -y remove shadow-utils && \
microdnf clean all

CMD [ "/usr/bin/tail", "-f", "/dev/null" ]

0 comments on commit eca56f0

Please sign in to comment.