Closed praneethratna closed 8 months ago
Hey @praneethratna : Thanks for looking into this. There are other more recent releases and one with the latest
tag too. It seems better to not pin on a specific version, unless there are very good reasons to do so. Do you know what the core issues were for the previous failing, and is there a more general fix that we could use?
Hey @praneethratna : Thanks for looking into this. There are other more recent releases and one with the
latest
tag too. It seems better to not pin on a specific version, unless there are very good reasons to do so. Do you know what the core issues were for the previous failing, and is there a more general fix that we could use?
Hi @leewujung I tried to build using latest
tag but that also failed due to similar error. The core issue being microdnf
command was not found which can be due to microdnf
not being used post Nov 1st release, i'm not very sure of it.
I have a more general fix for this which is -
FROM minio/minio AS base
FROM debian AS builder
ARG TARGETPLATFORM
RUN apt-get update && apt-get install -y git
FROM minio/minio
COPY --from=builder /usr/bin/git /usr/bin/git
CMD ["minio", "server", "/data"]
What do you think about this fix?
Closing and re-opening the PR to rerun all the tests!
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2eaa210
) 82.35% compared to head (10e4bc0
) 82.35%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes build issue with
minioci.dockerfile
due tomicrodnf
command not found.