Skip to content

sed: can't read /etc/yum/pluginconf.d/subscription-manager.conf: No such file or directory #7

@michael-oancea

Description

@michael-oancea

Hello,

It looks like starting with sonatype/nexus3:3.41.1, Sonatype did some modifications which are affecting the build process as shown below.

 => ERROR [2/7] RUN sed -e '/^enabled=1/ s/=1/=0/' -i /etc/yum/pluginconf.d/subscription-manager.conf  && yum -y update && yum install -y openssl lib  1.0s 
------
 > [2/7] RUN sed -e '/^enabled=1/ s/=1/=0/' -i /etc/yum/pluginconf.d/subscription-manager.conf  && yum -y update && yum install -y openssl libxml2 libxslt && yum clean all:
#5 0.382 sed: can't read /etc/yum/pluginconf.d/subscription-manager.conf: No such file or directory
------
executor failed running [/bin/sh -c sed -e '/^enabled=1/ s/=1/=0/' -i /etc/yum/pluginconf.d/subscription-manager.conf  && yum -y update && yum install -y openssl libxml2 libxslt && yum clean all]: exit code: 2

The last working version is sonatype/nexus3:3.41.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions