eartoolbox
eartoolbox

Reputation: 367

yum: command not found when building Dockerfile

The top of my Dockerfile looks like this:

FROM public.ecr.aws/lambda/provided

ENV R_VERSION=4.3.0

RUN yum -y install wget git tar

The other day, all was working fine when I built the container.

However, I updated Docker yesterday, and now I am getting the error "yum: command not found".

Why is this and how can I fix it?

Upvotes: 0

Views: 818

Answers (1)

From a comment by Turing85:

Looks like yum was replaced with microdnf

This does work for me.

Upvotes: 0

Related Questions