Quantcast
Viewing latest article 2
Browse Latest Browse All 2

Issue installing scons in Dockerfile -- No match for argumet scons using yum

I am trying to create a docker image from centos that uses scons.

The simple Dockerfile I am trying right now is:

FROM centos:latest
USER root
RUN yum update -y
RUN yum -y install scons

however, when I run docker build, I get the following error:

No match for argument: scons Error: Unable to find a match The command '/bin/sh -c yum -y install scons' returned a non-zero code: 1

From what I understand I should be able to yum install scons, is there another way I need to do this in a Dockerfile?


Viewing latest article 2
Browse Latest Browse All 2

Trending Articles