yum: command not found when building Dockerfile

225 Views Asked by At

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?

0

There are 0 best solutions below