2024-11-10 14:40:55,995: INFO: Building contrail-general-base 2024-11-10 14:40:56,010: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_1_8_1-1 --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 7: Pulling from library/centos 2d473b07cdd5: Already exists Digest: sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 Status: Downloaded newer image for centos:7 ---> eeb6ee3f44bd Step 2/19 : ARG SITE_MIRROR ---> Running in fc4af42a4621 ---> Removed intermediate container fc4af42a4621 ---> 098b41b48ffc Step 3/19 : ARG VENDOR_NAME ---> Running in f79434556955 ---> Removed intermediate container f79434556955 ---> ce26a64af289 Step 4/19 : ARG VENDOR_DOMAIN ---> Running in e65c20a06099 ---> Removed intermediate container e65c20a06099 ---> 7593a66ff83f Step 5/19 : ARG CONTRAIL_CONTAINER_TAG ---> Running in 67823a034337 ---> Removed intermediate container 67823a034337 ---> ac31f0237d3a Step 6/19 : LABEL vendor=$VENDOR_NAME version=$CONTRAIL_CONTAINER_TAG release="5.1.0" ---> Running in c5af6aac71a1 ---> Removed intermediate container c5af6aac71a1 ---> fd380150e576 Step 7/19 : RUN mkdir /licenses ---> Running in 27c4c9e3b015 ---> Removed intermediate container 27c4c9e3b015 ---> 3727c1b8aed4 Step 8/19 : COPY licensing.txt /licenses ---> 8410e1336656 Step 9/19 : ARG GENERAL_EXTRA_RPMS="" ---> Running in 6ca8ac917f9d ---> Removed intermediate container 6ca8ac917f9d ---> 23f68b6bcaf1 Step 10/19 : ARG YUM_ENABLE_REPOS="" ---> Running in 2c12d000d4f7 ---> Removed intermediate container 2c12d000d4f7 ---> 26a31c223bcf Step 11/19 : ARG LC_ALL="en_US.UTF-8" ---> Running in 02c1a0e43d3a ---> Removed intermediate container 02c1a0e43d3a ---> 5e070372c521 Step 12/19 : ARG LANG="en_US.UTF-8" ---> Running in ae1310f284fc ---> Removed intermediate container ae1310f284fc ---> 0a6ce3ff6214 Step 13/19 : ARG LANGUAGE="en_US.UTF-8" ---> Running in 5bcbb9634822 ---> Removed intermediate container 5bcbb9634822 ---> 9976081de61e 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 eeabd1aa10c7 ---> Removed intermediate container eeabd1aa10c7 ---> b8ef4b69a347 Step 15/19 : COPY *.repo /etc/yum.repos.d/ ---> 106ba57d2977 Step 16/19 : COPY pip.conf /etc/ ---> 50d579b038e4 Step 17/19 : COPY *.sh / ---> a85c918ddec2 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