Closed tonyskapunk closed 2 years ago
Hi @tonyskapunk , can you try with beta6 ?
And as far as I know, non-rpm images are not supported anyway. Scratch images are an exception, but requires having OsContentType set to "scratch" in Pyxis. That is not settable directly.
Hi @itroyano I tried with beta6 and I see an improved message:
Error: unsupported image. only RHEL/UBI or scratch base images are supported
@bcrochet , thanks for that clarification as one could say that all images come from scratch :smile: , but your comment clarifies that.
Bug Description
(A clear and concise description of the issue) Using preflight check container with a non-rpm based image fails with a clear error message.
Version and Command Invocation
(The output of
preflight --version
) preflight version 1.1.0-beta5 <commit: 5feddaee9808781cd9ae760acd94f2545e8e70aa>Steps to Reproduce:
(How can we reproduce this?) 1) Run preflight binary with an image non-rpm based
Expected Result
(What did you expect to happen and why?)
If non-rpm based images are supported, then a more helpful message error would be nice
Actual Result
(What actually happened)
Additional Context
(Anything else you think might help us troubleshoot, like your platform, dependency versions, etc).