nexus-https icon indicating copy to clipboard operation
nexus-https copied to clipboard

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

Open michael-oancea opened this issue 1 year ago • 0 comments

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

michael-oancea avatar Mar 21 '23 20:03 michael-oancea