2025-03-29 07:45:10,082: INFO: Building contrail-general-base 2025-03-29 07:45:10,090: INFO: Building args: --network host --build-arg PIP_REPOSITORY=http://localhost:6667/pip/simple --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_4_5_5-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 52.22 kB Step 1/22 : ARG LINUX_DISTR=centos Step 2/22 : ARG LINUX_DISTR_VER=7.9.2009 Step 3/22 : FROM $LINUX_DISTR:$LINUX_DISTR_VER 7: Pulling from library/centos 2d473b07cdd5: Already exists Digest: sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 Status: Downloaded newer image for centos:7 ---> eeb6ee3f44bd Step 4/22 : ARG LINUX_DISTR=centos ---> Running in 30cc0531b91a ---> Removed intermediate container 30cc0531b91a ---> d2cd2f5d4e79 Step 5/22 : ARG SITE_MIRROR ---> Running in ae48ea82a642 ---> Removed intermediate container ae48ea82a642 ---> d27d8a2ba788 Step 6/22 : ARG VENDOR_NAME ---> Running in 21d0f82be2ff ---> Removed intermediate container 21d0f82be2ff ---> f0f3e888538e Step 7/22 : ARG VENDOR_DOMAIN ---> Running in 59f870bc8a59 ---> Removed intermediate container 59f870bc8a59 ---> 0ce9f13a5d5f Step 8/22 : ARG CONTRAIL_CONTAINER_TAG ---> Running in c4106f3b4377 ---> Removed intermediate container c4106f3b4377 ---> 84d8c3a841b9 Step 9/22 : LABEL vendor=$VENDOR_NAME version=$CONTRAIL_CONTAINER_TAG release="5.1.0" ---> Running in 80489fca45cf ---> Removed intermediate container 80489fca45cf ---> 9fb2b454e245 Step 10/22 : RUN mkdir /licenses ---> Running in eb866522e7af ---> Removed intermediate container eb866522e7af ---> d863b46ef980 Step 11/22 : COPY licensing.txt /licenses ---> 284f69077644 Step 12/22 : ARG GENERAL_EXTRA_RPMS="" ---> Running in c6bbf98befba ---> Removed intermediate container c6bbf98befba ---> 0bbe6e7f4130 Step 13/22 : ARG YUM_ENABLE_REPOS="" ---> Running in 7bd0ab68a5e4 ---> Removed intermediate container 7bd0ab68a5e4 ---> 7c6cce75bda2 Step 14/22 : ARG LC_ALL="en_US.UTF-8" ---> Running in 39d2f49e5cc2 ---> Removed intermediate container 39d2f49e5cc2 ---> 7eb0a1ad82a6 Step 15/22 : ARG LANG="en_US.UTF-8" ---> Running in 340ec7a968ff ---> Removed intermediate container 340ec7a968ff ---> efc96e83f616 Step 16/22 : ARG LANGUAGE="en_US.UTF-8" ---> Running in a48116e80af9 ---> Removed intermediate container a48116e80af9 ---> e8754b09135f Step 17/22 : 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 f16ff6ae56fb ---> Removed intermediate container f16ff6ae56fb ---> 74fe9c8ae137 Step 18/22 : COPY *.repo /etc/yum.repos.d/ ---> f1f0bd4a2676 Step 19/22 : COPY pip.conf /etc/ ---> 3c26db912850 Step 20/22 : COPY *.sh / ---> 57f20dc4650a Step 21/22 : 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 ; if [[ "$LINUX_DISTR" == "centos" ]]; then for file in /etc/yum.repos.d/CentOS-* ; do grep -v mirrorlist= "$file" > "$file".new && mv "$file".new "$file" ; done ; sed -i 's|#s*baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* ; 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 ; yum install -y $pkgs ; source /functions.sh ; yum install -y python3 python3-pip ; python3 -m pip install --upgrade pip setuptools ; rm -rf /root/.cache ; 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