Coming across a very odd issue here:

Whenever I try using a ubi8/nodejs-14-minimal base image, the build fails with /bin/sh: yarn not found.

I have installed yarn already by adding a Run npm install yarn -- global layer on my dockerfile. The same doesn't happens with a way mic more stripped down base image, such as ubi-minimal. I add the nodejs 14 module, and it works just fine when calling npm install yarn -- global.

Are you guys experienced with these RH ubi images? Has anyone ever stumbled on such a similar issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.