Skip to content

Commit

Permalink
fix: yum update during image creation (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Jul 22, 2021
1 parent daaf80a commit aacf11e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL org.opencontainers.image.vendor="Adfinis"

COPY backup.sh /usr/local/bin/backup.sh

RUN microdnf update -y && rm -rf /var/cache/yum
RUN microdnf install findutils -y && microdnf clean all

CMD ["/usr/local/bin/backup.sh"]

0 comments on commit aacf11e

Please sign in to comment.