2024-10-23 10:02:28,681: INFO: Building contrail-general-base 2024-10-23 10:02:28,732: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_0_8_3-3_2 --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=7 --build-arg LINUX_DISTR=centos --build-arg GENERAL_EXTRA_RPMS="" --build-arg BASE_EXTRA_RPMS="" --build-arg YUM_ENABLE_REPOS="" --build-arg CONTAINER_NAME=contrail-general-base --build-arg UBUNTU_DISTR_VERSION=22.04 --build-arg UBUNTU_DISTR=ubuntu --build-arg VENDOR_NAME=OpenSDN-IO --build-arg VENDOR_DOMAIN=io.opensdn Sending build context to Docker daemon 55.81 kB Step 1/19 : FROM centos:7 ---> eeb6ee3f44bd Step 2/19 : ARG SITE_MIRROR ---> Using cache ---> 6b8dc2deaa8f Step 3/19 : ARG VENDOR_NAME ---> Running in f150d3778e12 ---> Removed intermediate container f150d3778e12 ---> 0081780f76ef Step 4/19 : ARG VENDOR_DOMAIN ---> Running in e81e31e3c7fb ---> Removed intermediate container e81e31e3c7fb ---> 5213f0105839 Step 5/19 : ARG CONTRAIL_CONTAINER_TAG ---> Running in 7f5e52016287 ---> Removed intermediate container 7f5e52016287 ---> 60cacf22b8e6 Step 6/19 : LABEL vendor=$VENDOR_NAME version=$CONTRAIL_CONTAINER_TAG release="5.1.0" ---> Running in 1313e9f2130c ---> Removed intermediate container 1313e9f2130c ---> f9a917efa759 Step 7/19 : RUN mkdir /licenses ---> Running in 9955ca502df2 ---> Removed intermediate container 9955ca502df2 ---> 470ae13ea1b4 Step 8/19 : COPY licensing.txt /licenses ---> 1e84b7f1f0cd Step 9/19 : ARG GENERAL_EXTRA_RPMS="" ---> Running in cd0ffeacf197 ---> Removed intermediate container cd0ffeacf197 ---> cbe142459340 Step 10/19 : ARG YUM_ENABLE_REPOS="" ---> Running in 466258d8564b ---> Removed intermediate container 466258d8564b ---> b24ae7450695 Step 11/19 : ARG LC_ALL="en_US.UTF-8" ---> Running in 886bea103296 ---> Removed intermediate container 886bea103296 ---> 662b5326cbfa Step 12/19 : ARG LANG="en_US.UTF-8" ---> Running in e19c57d3d959 ---> Removed intermediate container e19c57d3d959 ---> 6acc927b0f70 Step 13/19 : ARG LANGUAGE="en_US.UTF-8" ---> Running in fcfdde1b6281 ---> Removed intermediate container fcfdde1b6281 ---> 05acf61ceb60 Step 14/19 : ENV VENDOR_DOMAIN=$VENDOR_DOMAIN VENDOR_NAME=$VENDOR_NAME CONTRAIL_GID=1999 CONTRAIL_UID=1999 CONTRAIL_USER=contrail CONTRAIL_VERSION=$CONTRAIL_CONTAINER_TAG LC_ALL=$LC_ALL LANG=$LANG LANGUAGE=$LANGUAGE ---> Running in d83969bee350 ---> Removed intermediate container d83969bee350 ---> 89d5c69c9e75 Step 15/19 : COPY *.repo /etc/yum.repos.d/ ---> f14f55995451 Step 16/19 : COPY pip.conf /etc/ ---> 95a37071b2d3 Step 17/19 : COPY *.sh / ---> 8fd3b43b8cec Step 18/19 : RUN source /etc/os-release ; YUM_ENABLE_REPOS=$(echo $YUM_ENABLE_REPOS | tr -d '"') ; if [[ -n "$YUM_ENABLE_REPOS" ]] ; then echo "INFO: contrail-general-base: enable repos $YUM_ENABLE_REPOS" ; if ! type -p yum-config-manager ; then yum install -y yum-utils ; fi ; yum-config-manager --enable $YUM_ENABLE_REPOS ; yum clean metadata ; fi ; yum update -y -x "redhat-release*" -x "coreutils*" yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical ; pkgs="hostname iproute less wget openssl" ; GENERAL_EXTRA_RPMS=$(echo $GENERAL_EXTRA_RPMS | tr -d '"' | tr ',' ' ') ; if [[ -n "$GENERAL_EXTRA_RPMS" ]] ; then pkgs+=" $GENERAL_EXTRA_RPMS" ; fi ; if [[ "$ID" == 'rhel' && "${PLATFORM_ID//*:/}" == 'el8' ]] ; then pkgs+=" yum-utils glibc-langpack-en compat-openssl10" ; fi ; yum install -y $pkgs ; source /functions.sh ; yum install -y python3 python3-pip ; python3 -m pip install --upgrade pip setuptools ; yum clean all -y ; rm -rf /var/cache/yum ; groupadd --gid $CONTRAIL_GID --system $CONTRAIL_USER ; useradd -md /home/contrail --uid $CONTRAIL_UID --shell /sbin/nologin --system --gid $CONTRAIL_GID $CONTRAIL_USER ---> Running in aaa898eebdf0 Loaded plugins: fastestmirror, ovl Determining fastest mirrors